commit | 9c3241d6d063e7e91f2c2fbfaeb235916c9bd704 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Aug 10 19:46:50 1995 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Aug 10 19:46:50 1995 +0000 |
tree | dde5205186004a44e0ddab3102ec8ea7deb63c0a | |
parent | 1a16c868d45740f4bc08fa5c81d998ba6af8235e [diff] [blame] |
exec() -> exec
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 @@ self.set_cmd(cmd) sys.setprofile(self.trace_dispatch) try: - exec(cmd, globals, locals) + exec cmd in globals, locals finally: sys.setprofile(None)