]> granicus.if.org Git - python/commit
Use PyObject_IsInstance() to check whether the first argument to an
authorGuido van Rossum <guido@python.org>
Wed, 21 Mar 2001 19:17:22 +0000 (19:17 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 21 Mar 2001 19:17:22 +0000 (19:17 +0000)
commit66b0e9c2a77bd991ea55ad361bad4eb1a3dc5e78
tree2ce80adbf2ff6d02980566f90a67c5e402a166b5
parent69e9e8bd514717f74e19ba97a644ef47f0150534
Use PyObject_IsInstance() to check whether the first argument to an
unbound method is of the right type.  Hopefully this solves SF patch
#409355 (Meta-class inheritance problem); I have no easy way to test.
Python/ceval.c