diff options
author | Guido van Rossum <guido@python.org> | 2003-02-12 03:32:58 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-02-12 03:32:58 (GMT) |
commit | 03bc7d3c4d22146b2e28c39e6c2e239137318f0a (patch) | |
tree | 3a926bb496d70ae4bd0445b5db5889b226ceaad7 /Objects/intobject.c | |
parent | 73019a6321ba3718e31c110c290b94949be1b70f (diff) | |
download | cpython-03bc7d3c4d22146b2e28c39e6c2e239137318f0a.zip cpython-03bc7d3c4d22146b2e28c39e6c2e239137318f0a.tar.gz cpython-03bc7d3c4d22146b2e28c39e6c2e239137318f0a.tar.bz2 |
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.
Diffstat (limited to 'Objects/intobject.c')
0 files changed, 0 insertions, 0 deletions