mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Get rid of many apply() calls.
This commit is contained in:
parent
f389c77273
commit
68468eba63
38 changed files with 85 additions and 91 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue