diff options
| author | Guido van Rossum <guido@python.org> | 1999-06-16 17:28:37 (GMT) |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1999-06-16 17:28:37 (GMT) |
| commit | 668213d3b8876a30c5cec84a0d07590374495aba (patch) | |
| tree | 140cec0510b60e68bfe5037c86f74739c1f004f2 /Python/memmove.c | |
| parent | 9f612f9c5a1fb1a35cbe360bfbc3d134da268445 (diff) | |
| download | cpython-668213d3b8876a30c5cec84a0d07590374495aba.zip cpython-668213d3b8876a30c5cec84a0d07590374495aba.tar.gz cpython-668213d3b8876a30c5cec84a0d07590374495aba.tar.bz2 | |
Patch by Jim Fulton (code style tweaked a bit) to support
ExtensionClasses in isinstance() and issubclass().
- abstract instance and class protocols are used *only* in those
cases that would generate errors before the patch. That is, there's
no penalty for the normal case.
- instance protocol: an object smells like an instance if it
has a __class__ attribute that smells like a class.
- class protocol: an object smells like a class if it has a
__bases__ attribute that is a tuple with elements that
smell like classes (although not all elements may actually get
sniffed ;).
Diffstat (limited to 'Python/memmove.c')
0 files changed, 0 insertions, 0 deletions
