mirror of https://github.com/python/cpython
exec() -> exec
This commit is contained in:
parent
1a16c868d4
commit
9c3241d6d0
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue