[Python-3000] A plea for anonymous functions
exarkun at divmod.com
Thu Nov 16 18:45:58 CET 2006
On Thu, 16 Nov 2006 18:24:38 +0100 (CET), Antoine <solipsis at pitrou.net> wrote:
>Ok, that's nearly perfect!
>Only "nearly" because:
>1. There are cases where you want the return value of the
>"get_synset_link". 2. You sometimes need more than one callback, and you
>cannot decorate two functions at once. For example, with Twisted you can
>define a callback (called on success) and an errback (called on error).
>But I agree that decorators help to solve a lot of problems.
>Thanks for the answer
File "<stdin>", line 1
SyntaxError: invalid syntax
More information about the Python-3000