We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98a608b commit 662d77fCopy full SHA for 662d77f
Week04/decorators_tarik_bozgan.py
@@ -8,7 +8,7 @@ def custom_equation(x, y, a=1, b=1, *, c=1):
8
def fn_w_counter():
9
caller = __import__('inspect').currentframe().f_back.f_code.co_name
10
_calls[caller] = _calls.get(caller, 0) + 1
11
- return (_calls[caller], dict(_calls))
+ return _calls[caller], dict(_calls)
12
13
def performance(f):
14
def w(*a, **k):
0 commit comments