commit | 03bc7d3c4d22146b2e28c39e6c2e239137318f0a | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Feb 12 03:32:58 2003 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Feb 12 03:32:58 2003 +0000 |
tree | 3a926bb496d70ae4bd0445b5db5889b226ceaad7 | |
parent | 73019a6321ba3718e31c110c290b94949be1b70f [diff] |
SF #532767: isinstance(x, X) should work when x is a proxy for an X instance, as long as x.__class__ is X or a subclass thereof. Did a little cleanup of PyObject_IsInstance() too.