Commit 9c3241d6 authored by Guido van Rossum's avatar Guido van Rossum

exec() -> exec

parent 1a16c868
......@@ -400,7 +400,7 @@ class Profile:
self.set_cmd(cmd)
sys.setprofile(self.trace_dispatch)
try:
exec(cmd, globals, locals)
exec cmd in globals, locals
finally:
sys.setprofile(None)
......
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