Enigma Curry <[EMAIL PROTECTED]> wrote:
   ...
> @somefunction()
> def a_newfunction():
>     ....
> 
> What does it mean and what does it do?

It means and does exactly the same thing as having

a_newfunction = somefunction()(a_newfunction)

right after the end of a_newfunction's body.

<http://www.python.org/doc/current/whatsnew/node6.html>


Alex
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to