Enable os.path as a mostly-normal submodule, including "from os.path
authorFred Drake <fdrake@acm.org>
Tue, 19 Jan 1999 16:05:13 +0000 (16:05 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 19 Jan 1999 16:05:13 +0000 (16:05 +0000)
import isfile" and "import os.path".

Lib/os.py

index 28ed3cfff1e858c21fcf31d6d655224f957a7faf..15230c165401cb52f630395f239bbe1b3ff34d9f 100644 (file)
--- 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)