Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0237909

Browse files
committed
Enable os.path as a mostly-normal submodule, including "from os.path
import isfile" and "import os.path".
1 parent cb5540e commit 0237909

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/os.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@
9393

9494
del _names
9595

96+
sys.modules['os.path'] = path
97+
9698
# Super directory utilities.
9799
# (Inspired by Eric Raymond; the doc strings are mostly his)
98100

0 commit comments

Comments
 (0)