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.
Showing
Please
register
or
sign in
to comment