summaryrefslogtreecommitdiffstats
path: root/Lib/profile.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/profile.py')
-rwxr-xr-xLib/profile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/profile.py b/Lib/profile.py
index c667db2..7c4b5a6 100755
--- a/Lib/profile.py
+++ b/Lib/profile.py
@@ -416,7 +416,7 @@ class Profile:
self.set_cmd(`func`)
sys.setprofile(self.dispatcher)
try:
- return apply(func, args, kw)
+ return func(*args, **kw)
finally:
sys.setprofile(None)