mirror of https://github.com/python/cpython
exec() -> exec
This commit is contained in:
parent
9f824a7984
commit
baf642ed16
|
@ -26,7 +26,7 @@ for dir in sys.path:
|
|||
s = 'import ' + head
|
||||
print s
|
||||
try:
|
||||
exec(s + '\n')
|
||||
exec s + '\n'
|
||||
except KeyboardInterrupt:
|
||||
del names[:]
|
||||
print '\n[interrupt]'
|
||||
|
|
Loading…
Reference in New Issue