Kaydet (Commit) baf642ed authored tarafından Guido van Rossum's avatar Guido van Rossum

exec() -> exec

üst 9f824a79
...@@ -26,7 +26,7 @@ for dir in sys.path: ...@@ -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]'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment