diff options
author | Guido van Rossum <guido@python.org> | 1995-08-10 19:46:50 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-08-10 19:46:50 (GMT) |
commit | 9c3241d6d063e7e91f2c2fbfaeb235916c9bd704 (patch) | |
tree | dde5205186004a44e0ddab3102ec8ea7deb63c0a /Lib | |
parent | 1a16c868d45740f4bc08fa5c81d998ba6af8235e (diff) | |
download | cpython-9c3241d6d063e7e91f2c2fbfaeb235916c9bd704.zip cpython-9c3241d6d063e7e91f2c2fbfaeb235916c9bd704.tar.gz cpython-9c3241d6d063e7e91f2c2fbfaeb235916c9bd704.tar.bz2 |
exec() -> exec
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/profile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/profile.py b/Lib/profile.py index f41a8ae..baa95e1 100755 --- a/Lib/profile.py +++ b/Lib/profile.py @@ -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) |