summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-01-19 16:05:13 (GMT)
committerFred Drake <fdrake@acm.org>1999-01-19 16:05:13 (GMT)
commit0237909e420db2897034a371087963be4a312552 (patch)
tree1cbadd5e77448e5f162da6e63699c41a32bc67a8
parentcb5540e72af8b11ac7bf55051fdda38de57b5dcf (diff)
downloadcpython-0237909e420db2897034a371087963be4a312552.zip
cpython-0237909e420db2897034a371087963be4a312552.tar.gz
cpython-0237909e420db2897034a371087963be4a312552.tar.bz2
Enable os.path as a mostly-normal submodule, including "from os.path
import isfile" and "import os.path".
-rw-r--r--Lib/os.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/os.py b/Lib/os.py
index 28ed3cf..15230c1 100644
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -93,6 +93,8 @@ else:
del _names
+sys.modules['os.path'] = path
+
# Super directory utilities.
# (Inspired by Eric Raymond; the doc strings are mostly his)