Skip to content

Commit 5720c89

Browse files
committed
1 parent eadee4c commit 5720c89

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

os/os.module.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ func getenv(self py.Object, args py.Tuple) (py.Object, error) {
118118
return nil, py.ExceptionNewf(py.TypeError, "str expected (pos 1), not "+args[0].Type().Name)
119119
}
120120
if objectIsString(args[1]) {
121-
key = args[0]
122121
dflt = args[1]
123122
} else {
124123
return nil, py.ExceptionNewf(py.TypeError, "str expected (pos 2), not "+args[1].Type().Name)

0 commit comments

Comments
 (0)