mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
do fake "import posix" for freeze.py script
This commit is contained in:
parent
f8c76d0cd1
commit
a28f2dc321
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue