Oct-11-2023, 10:06 AM
(Oct-09-2023, 01:26 PM)buran Wrote: This (the@
) is used for decorator syntax
check
https://peps.python.org/pep-0318/
https://realpython.com/primer-on-python-decorators/
hi
as you can see the timer, itself is a decorator and you say @functools.wraps(func) is a decorator again, namely decorator inside decorator?