summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-08-17 12:33:28 +0000
committerGuido van Rossum <guido@python.org>1994-08-17 12:33:28 +0000
commita28f2dc3211a51fdd05008fa4c7137ff4e07b80f (patch)
tree2b0e24230d65ea6bb6ec25deef7b36d8d277ce86 /Lib
parentf8c76d0cd12f06387e6999ed35c56be874257dee (diff)
downloadcpython-git-a28f2dc3211a51fdd05008fa4c7137ff4e07b80f.tar.gz
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 dda3213566..e723b075ef 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: