3 ms·
Only a little: bar = foo('baz')(bar) [EDIT]: Basically, whatever function is returned from the decorator line (the function itself, if there is no call, o
by falcolas 14y ago
Only a little:
bar = foo('baz')(bar)
[EDIT]: Basically, whatever function is returned from the decorator line (the function itself, if there is no call, or the results from a function call otherwise) is applied to the decorated function.