mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
exec() -> exec
This commit is contained in:
parent
1a16c868d4
commit
9c3241d6d0
1 changed files with 1 additions and 1 deletions
|
|
@ -400,7 +400,7 @@ class Profile:
|
||||||
self.set_cmd(cmd)
|
self.set_cmd(cmd)
|
||||||
sys.setprofile(self.trace_dispatch)
|
sys.setprofile(self.trace_dispatch)
|
||||||
try:
|
try:
|
||||||
exec(cmd, globals, locals)
|
exec cmd in globals, locals
|
||||||
finally:
|
finally:
|
||||||
sys.setprofile(None)
|
sys.setprofile(None)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue