commit | 6dabc984005c02c0289a17d8d173dc800214b44f | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue May 14 21:54:20 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue May 14 21:54:20 1996 +0000 |
tree | c1e5091fc25e27675c8add10a2402324e4e1ebd7 | |
parent | 3355be3f352d905a02031bdec6d91a339489b1c8 [diff] |
Added __name__ attribute to class instance method objects. Removed im_doc attribute; __name__ and __doc__ are now handled by special casing in instancemethodgetattr(). This saves a few bytes and INCREF/DECREF calls per i.m. object allocation/deallocation.