summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-21 13:01:23 (GMT)
committerGeorg Brandl <georg@python.org>2010-10-21 13:01:23 (GMT)
commita847ccbeaefdd15fa093067f171605e3a5f9a866 (patch)
tree464517996ffa798aff0350382938df8a871ca14c /Tools
parent29848f0570ad595b1f0ae4e7a3d85f6694187cd3 (diff)
downloadcpython-a847ccbeaefdd15fa093067f171605e3a5f9a866.zip
cpython-a847ccbeaefdd15fa093067f171605e3a5f9a866.tar.gz
cpython-a847ccbeaefdd15fa093067f171605e3a5f9a866.tar.bz2
Fix missing import.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/freeze/makeconfig.py3
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 ...')