Skip to content

Commit 4eb0340

Browse files
W5HWV4V2
1 parent ae6962b commit 4eb0340

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Week04/decorators_umut_turk.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
def performance(f):
55
def _performance(*args, **kwargs):
66
if not hasattr(_performance, "counter"):
7-
counter = 0
7+
_performance.counter = 0
88
_performance.counter += 1
99
x = time.time()
1010
tracemalloc.start()

0 commit comments

Comments
 (0)