mirror of
https://github.com/python/cpython
synced 2026-09-29 08:45:29 +03:00
exec() -> exec
This commit is contained in:
parent
9f824a7984
commit
baf642ed16
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue