From: Guido van Rossum Date: Thu, 10 Aug 1995 19:46:50 +0000 (+0000) Subject: exec() -> exec X-Git-Tag: v1.3b1~58 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9c3241d6d063e7e91f2c2fbfaeb235916c9bd704;p=thirdparty%2FPython%2Fcpython.git exec() -> exec --- diff --git a/Lib/profile.py b/Lib/profile.py index f41a8ae7bf08..baa95e185ac3 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)