mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
SF patch #701494: more apply removals
This commit is contained in:
parent
50c61d5a6c
commit
ff41c48a77
23 changed files with 2437 additions and 2449 deletions
|
@ -12,7 +12,7 @@ def timefunc(n, func, *args, **kw):
|
|||
t0 = time.clock()
|
||||
try:
|
||||
for i in range(n):
|
||||
result = apply(func, args, kw)
|
||||
result = func(*args, **kw)
|
||||
return result
|
||||
finally:
|
||||
t1 = time.clock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue