Are decorators really that different from metaclasses...

Alex Martelli aleaxit at yahoo.com
Sat Aug 28 12:05:24 EDT 2004


Paul Morrow <pm_mon at yahoo.com> wrote:
   ...
> Cool!  Thanks!  Now I need to ponder why a function's docstring needs a
> different implementation than a class's docstring (i.e. why not just 
> make it a straigtforward attribute of the function object).

Historically, functions had docstrings before they had straightforward
attributes.  Maybe it could be that.


Alex



More information about the Python-list mailing list