Skip to content

Commit 34279a2

Browse files
committed
Improve: align error message with doctests
1 parent 9baa3af commit 34279a2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

maths/fibonacci.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@
2222
import numpy as np
2323
from numpy import ndarray
2424

25+
from typing import Any
2526

26-
def time_func(func, *args, **kwargs) -> object:
27+
def time_func(func, *args, **kwargs) -> Any:
2728
"""
2829
Times the execution of a function with parameters
2930
"""

0 commit comments

Comments
 (0)