4 ms·
>That is all there is to it. At it's most basic yes, but passing arguments to both the decorator and the decorated function are the real value of the article.
by ttrtwrtwrtwr 15y ago
>That is all there is to it.
At it's most basic yes, but passing arguments to both the decorator and the decorated function are the real value of the article.
And there are examples, more than I need but they provide different ways of looking at the same thing that different people might find useful.