Skip to content

Commit 1dc814b

Browse files
committed
add os.curdir
1 parent 7fc337b commit 1dc814b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

os/os.module.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ func init() {
5151
"environ": getEnvVariables(),
5252
"sep": getsep(),
5353
"name": getname(),
54+
"curdir": py.String("."),
5455
}
5556

5657
py.RegisterModule(&py.ModuleImpl{

0 commit comments

Comments
 (0)