diff options
author | Georg Brandl <georg@python.org> | 2010-10-21 13:01:23 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-21 13:01:23 (GMT) |
commit | a847ccbeaefdd15fa093067f171605e3a5f9a866 (patch) | |
tree | 464517996ffa798aff0350382938df8a871ca14c /Tools | |
parent | 29848f0570ad595b1f0ae4e7a3d85f6694187cd3 (diff) | |
download | cpython-a847ccbeaefdd15fa093067f171605e3a5f9a866.zip cpython-a847ccbeaefdd15fa093067f171605e3a5f9a866.tar.gz cpython-a847ccbeaefdd15fa093067f171605e3a5f9a866.tar.bz2 |
Fix missing import.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/freeze/makeconfig.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Tools/freeze/makeconfig.py b/Tools/freeze/makeconfig.py index bed6f6a..018992c 100644 --- a/Tools/freeze/makeconfig.py +++ b/Tools/freeze/makeconfig.py @@ -1,5 +1,5 @@ import re - +import sys # Write the config.c file @@ -37,7 +37,6 @@ def makeconfig(infp, outfp, modules, with_ifdef=0): # Test program. def test(): - import sys if not sys.argv[3:]: print('usage: python makeconfig.py config.c.in outputfile', end=' ') print('modulename ...') |