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
|
s = 'import ' + head
|
||||||
print s
|
print s
|
||||||
try:
|
try:
|
||||||
exec(s + '\n')
|
exec s + '\n'
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
del names[:]
|
del names[:]
|
||||||
print '\n[interrupt]'
|
print '\n[interrupt]'
|
||||||
|
|
Loading…
Reference in New Issue