Re:Why Python?
by miloshasan on Saturday October 23, 2010 @06:39PM
(#1824558)
Ah, yes - of course decorators do not fundamentally increase the expressive power of the language (and neither do lambdas, obviously). It's all just a matter of convenience and elegance, which are in the eye of the beholder anyway...
so can normal (i.e. not using decorators) code after the the function, e.g.:
Here, doSomethingWith() can introspect on myFunction()