[Python-Dev] Dropping decorator syntax for 2.4?

Skip Montanaro skip at pobox.com
Fri Jun 4 12:37:42 EDT 2004


    >> Yes, but only if it appears at the top level of a module.

    Guido> Why?  Can't I nest decorated functions inside other functions?
    Guido> And a class isn't at the top of a module either.

I thought you stated that as a desired/implemented restriction of your
syntax when you first proposed it.

Skip




More information about the Python-Dev mailing list