mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 10:28:39 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
e36b7b7640
commit
d81f0a3cc8
@ -26,7 +26,7 @@ def timer(func: callable) -> callable:
|
||||
def wrapper(*args: Any, **kwargs: Any) -> Any:
|
||||
"""
|
||||
Wraps the given function and measures its execution time.
|
||||
|
||||
|
||||
:param args: Positional arguments for the function.
|
||||
:param kwargs: Keyword arguments for the function.
|
||||
:return: The result of the wrapped function.
|
||||
|
Loading…
x
Reference in New Issue
Block a user