From a28f2dc3211a51fdd05008fa4c7137ff4e07b80f Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 17 Aug 1994 12:33:28 +0000 Subject: do fake "import posix" for freeze.py script --- Lib/os.py | 4 ++++ 1 file changed, 4 insertions(+) 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: -- cgit v0.12