I love the decorator in Python!!!

alex23 wuwei23 at gmail.com
Mon Dec 12 00:47:52 EST 2011


On Dec 12, 2:51 pm, 88888 Dihedral <dihedral88... at googlemail.com>
wrote:
> To wrap a function properly is different from the 1-line lampda.
>
> This is really functional programming.
>
> Every function can be decorated to change into a different one easily.
>
> There is  a method to replace every return action  of a python function
> into an  yield action without the source code.

How does this have _anything_ to do with my exchange with Robert?

If you're _not_ a markov chainer, you're trying way too hard to show
off what you know, and very little of it seems relevant to the thread.



More information about the Python-list mailing list