[Python-checkins] r85769 - python/branches/py3k/Tools/freeze/makeconfig.py

georg.brandl python-checkins at python.org
Thu Oct 21 15:01:23 CEST 2010


Author: georg.brandl
Date: Thu Oct 21 15:01:23 2010
New Revision: 85769
Log:
Fix missing import.
Modified:
 python/branches/py3k/Tools/freeze/makeconfig.py
Modified: python/branches/py3k/Tools/freeze/makeconfig.py
==============================================================================
--- python/branches/py3k/Tools/freeze/makeconfig.py	(original)
+++ python/branches/py3k/Tools/freeze/makeconfig.py	Thu Oct 21 15:01:23 2010
@@ -1,5 +1,5 @@
 import re
-
+import sys
 
 # Write the config.c file
 
@@ -37,7 +37,6 @@
 # Test program.
 
 def test():
- import sys
 if not sys.argv[3:]:
 print('usage: python makeconfig.py config.c.in outputfile', end=' ')
 print('modulename ...')


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /