summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-08-17 12:33:28 (GMT)
committerGuido van Rossum <guido@python.org>1994-08-17 12:33:28 (GMT)
commita28f2dc3211a51fdd05008fa4c7137ff4e07b80f (patch)
tree2b0e24230d65ea6bb6ec25deef7b36d8d277ce86 /Lib
parentf8c76d0cd12f06387e6999ed35c56be874257dee (diff)
downloadcpython-a28f2dc3211a51fdd05008fa4c7137ff4e07b80f.zip
cpython-a28f2dc3211a51fdd05008fa4c7137ff4e07b80f.tar.gz
cpython-a28f2dc3211a51fdd05008fa4c7137ff4e07b80f.tar.bz2
do fake "import posix" for freeze.py script
Diffstat (limited to 'Lib')
-rw-r--r--Lib/os.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/os.py b/Lib/os.py
index dda3213..e723b07 100644
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -23,6 +23,10 @@ _osindex = {
'mac': (':', '::', ':', ' ', ':'),
}
+# For freeze.py script:
+if 0:
+ import posix
+
import sys
for name in _osindex.keys():
if name in sys.builtin_module_names: