Monty @ The Python Coding Place @thepythoncodingplace.com · Mar 10

The help seems incorrect. It doesn't show the function name and your fabulous docstring hasn't been displayed. And if you show the function's name, it shows `inner` and not `my_special_function`

0 likes 1 replies

?

Replies

Monty @ The Python Coding Place · Mar 10

Can you guess why? The name (identifier) `my_special_function` no longer refers directly to the function you defined. Instead, it now refers to the `inner()` function returned by the decorator.