Repository navigation
PyTimer 0.5.1
Updates have been made to how decorators are handled. Previously PyTimer.setup_decorator() was needed to adjust the reps or runs_per_reps. This has now been changed, and those values are defined when the function is decorated. This means that functions can have varying values for reps and runs_per_reps. Also, callable_args can also be added to the decorator definition.
@PyTimer.decorator(reps=1, runs_per_reps=1, callable_args=False)
def func(arg):
pass