mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
Fix missing import.
This commit is contained in:
parent
29848f0570
commit
a847ccbeae
@ -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 ...')
|
||||
|
Loading…
Reference in New Issue
Block a user