Skip to content

Commit 6d3db0e

Browse files
committed
Update fn_w_counter signature and docstring - Feyza
1 parent 1596d1a commit 6d3db0e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎Week04/functions_feyza_ozdemir.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ def custom_equation(
3131
return float((x ** a + y ** b) / c)
3232

3333

34-
def fn_w_counter() -> tuple[int, dict[str, int]]:
34+
def fn_w_counter() -> (int, dict[str, int]):
3535
"""
3636
This function counts total function calls and tracks calls per caller module.
3737
38-
:return: A tuple containing the total call count and a dictionary of caller counts.
39-
:rtype: tuple[int, dict[str, int]]
38+
:return: The total call count and a dictionary of caller counts.
39+
:rtype: (int, dict[str, int])
4040
"""
4141
caller_frame = inspect.currentframe().f_back
4242
caller_name = caller_frame.f_globals.get("__name__", "__main__") if caller_frame else "__main__"

0 commit comments

Comments
 (0)