commit | 66b0e9c2a77bd991ea55ad361bad4eb1a3dc5e78 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Mar 21 19:17:22 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Mar 21 19:17:22 2001 +0000 |
tree | 2ce80adbf2ff6d02980566f90a67c5e402a166b5 | |
parent | 69e9e8bd514717f74e19ba97a644ef47f0150534 [diff] |
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.