[issue5250] Document __instancecheck__ and __subclasscheck__

Chris Rebert report at bugs.python.org
Wed Apr 14 23:43:09 CEST 2010

Chris Rebert <pybugs at rebertia.com> added the comment:

This might need to be reopened.

There's a verb missing from he following sentence of the patch:
"This is consistent with the lookup of special methods that called on instances, only that in this case the instance is itself a class."

Secondly, and more importantly, the issubclass() and isinstance() docs don't mention the new special methods in question.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list