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
|
@ -471,7 +471,7 @@ class Trace:
|
|||
if not self.donothing:
|
||||
sys.settrace(self.globaltrace)
|
||||
try:
|
||||
result = apply(func, args, kw)
|
||||
result = func(*args, **kw)
|
||||
finally:
|
||||
if not self.donothing:
|
||||
sys.settrace(None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue