From 9c3241d6d063e7e91f2c2fbfaeb235916c9bd704 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 10 Aug 1995 19:46:50 +0000 Subject: exec() -> exec --- Lib/profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12