Files
cpython/Objects
Guido van Rossum 6ca7d41c1f SF bug 542984.
Change type_get_doc (the get function for __doc__) to look in tp_dict
more often, and if it finds a descriptor in tp_dict, to call it (with
a NULL instance).  This means you can add a __doc__ descriptor to a
new-style class that returns instance docs when called on an instance,
and class docs when called on a class -- or the same docs in either
case, but lazily computed.

I'll also check this into the 2.2 maintenance branch.
2002-04-18 00:22:00 +00:00
..
2000-05-02 18:34:30 +00:00
2002-04-16 16:44:51 +00:00
2001-08-29 23:54:21 +00:00
2002-03-18 20:43:51 +00:00
2002-04-18 00:22:00 +00:00