diff options
author | Guido van Rossum <guido@python.org> | 2001-09-18 20:38:53 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-09-18 20:38:53 (GMT) |
commit | ab3b0343b89b4683148dadaf89728ee1198ebee5 (patch) | |
tree | ce2bc61bcef280a23bbc326fd7ec755a72bf1baa /Modules/cgensupport.h | |
parent | eb9490526508dc643c2329771f95a925e5412049 (diff) | |
download | cpython-ab3b0343b89b4683148dadaf89728ee1198ebee5.zip cpython-ab3b0343b89b4683148dadaf89728ee1198ebee5.tar.gz cpython-ab3b0343b89b4683148dadaf89728ee1198ebee5.tar.bz2 |
Hopefully fix 3-way comparisons. This unfortunately adds yet another
hack, and it's even more disgusting than a PyInstance_Check() call.
If the tp_compare slot is the slot used for overrides in Python,
it's always called.
Add some tests that show what should work too.
Diffstat (limited to 'Modules/cgensupport.h')
0 files changed, 0 insertions, 0 deletions