commit | 823649d544eec66a61176dbb76b51a9408c7f4ed | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Mar 21 18:40:58 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Mar 21 18:40:58 2001 +0000 |
tree | 5421f4de7101fe676693edea46cc886661db96b7 | |
parent | 91751143ebae8db295a7e15b4aeb831ea43ca123 [diff] |
Move the code implementing isinstance() and issubclass() to new C APIs, PyObject_IsInstance() and PyObject_IsSubclass() -- both returning an int, or -1 for errors.