metaclass and customization with parameters
Alex Martelli
aleaxit at yahoo.com
Mon Oct 4 02:24:30 EDT 2004
Carlos Ribeiro <carribeiro at gmail.com> wrote:
...
> Correct. Thanks for pointing out the difference between the def
> statement (which is executed) and the body of the function. This
You're welcome!
> difference is really important, and once you *really* understand it --
> as far as classes, functions and modules declarations work at runtime
If you avoid using the word 'declaration' in this context, and keep
talking about these as _executable statements_ (because that's what they
are!), I think you may help your readers' understanding even more.
Alex
More information about the Python-list
mailing list