Skip to content

Commit fca01d9

Browse files
W5HWV4V2
1 parent 31c3793 commit fca01d9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎Week04/decorators_umut_turk.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ def _performance(*args, **kwargs):
88
_performance.counter += 1
99
tracemalloc.start()
1010
x = time.time()
11-
f(args, kwargs)
11+
f(*args, **kwargs)
1212
total_time = time.time() - x
13-
total_mem = tracemalloc.get_traced_memory
14-
tracemalloc.stop
13+
total_mem = tracemalloc.get_traced_memory()
14+
tracemalloc.stop()
1515
return _performance

0 commit comments

Comments
 (0)