Luckily, Python gives you the option to carry the function's name and docstrings onto the decorated version. The `@functools.wraps` decorator applied to the `inner()` function in the decorator does the trick!
0 likes 1 replies
?
Luckily, Python gives you the option to carry the function's name and docstrings onto the decorated version. The `@functools.wraps` decorator applied to the `inner()` function in the decorator does the trick!
0 likes 1 replies