contexttimer
contexttimer copied to clipboard
A timer as a context manager
Results
3
contexttimer issues
Sort by
recently updated
recently updated
newest added
Unittest passed.
Currently, it can only be ``` @timer() def my_func(): pass ``` But, the following code is expected to run but fail: ``` @timer def my_func(): pass ``` An fix can...
``` contexttimer/__init__.py 138: and isinstance(func_or_func_args[0], collections.Callable)): ```