mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix missing import.
This commit is contained in:
parent
29848f0570
commit
a847ccbeae
1 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
import re
|
import re
|
||||||
|
import sys
|
||||||
|
|
||||||
# Write the config.c file
|
# Write the config.c file
|
||||||
|
|
||||||
|
@ -37,7 +37,6 @@ def makeconfig(infp, outfp, modules, with_ifdef=0):
|
||||||
# Test program.
|
# Test program.
|
||||||
|
|
||||||
def test():
|
def test():
|
||||||
import sys
|
|
||||||
if not sys.argv[3:]:
|
if not sys.argv[3:]:
|
||||||
print('usage: python makeconfig.py config.c.in outputfile', end=' ')
|
print('usage: python makeconfig.py config.c.in outputfile', end=' ')
|
||||||
print('modulename ...')
|
print('modulename ...')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue