Skip to content

Commit 662d77f

Browse files
committed
Bugs fixed
1 parent 98a608b commit 662d77f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Week04/decorators_tarik_bozgan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def custom_equation(x, y, a=1, b=1, *, c=1):
88
def fn_w_counter():
99
caller = __import__('inspect').currentframe().f_back.f_code.co_name
1010
_calls[caller] = _calls.get(caller, 0) + 1
11-
return (_calls[caller], dict(_calls))
11+
return _calls[caller], dict(_calls)
1212

1313
def performance(f):
1414
def w(*a, **k):

0 commit comments

Comments
 (0)