summaryrefslogtreecommitdiffstats
path: root/Lib/test/reperf.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/reperf.py')
-rw-r--r--Lib/test/reperf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/reperf.py b/Lib/test/reperf.py
index 6ad9a08..68ac40f 100644
--- a/Lib/test/reperf.py
+++ b/Lib/test/reperf.py
@@ -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()