From: Fred Drake Date: Tue, 19 Jan 1999 16:05:13 +0000 (+0000) Subject: Enable os.path as a mostly-normal submodule, including "from os.path X-Git-Tag: v1.5.2b2~321 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0237909e420db2897034a371087963be4a312552;p=thirdparty%2FPython%2Fcpython.git Enable os.path as a mostly-normal submodule, including "from os.path import isfile" and "import os.path". --- diff --git a/Lib/os.py b/Lib/os.py index 28ed3cfff1e8..15230c165401 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)