diff options
| author | Guido van Rossum <guido@python.org> | 2007-12-19 22:51:13 (GMT) |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2007-12-19 22:51:13 (GMT) |
| commit | 0b7b6fdff3b5bd7974c80a891598aa81ed634e61 (patch) | |
| tree | cdfaa22a883c513a81ff477342eee52df8f6c06b /Python/pystrcmp.c | |
| parent | 70fcfd03bcedb920efe84f829ed354ea0a0b3d3f (diff) | |
| download | cpython-0b7b6fdff3b5bd7974c80a891598aa81ed634e61.zip cpython-0b7b6fdff3b5bd7974c80a891598aa81ed634e61.tar.gz cpython-0b7b6fdff3b5bd7974c80a891598aa81ed634e61.tar.bz2 | |
Patch #1549 by Thomas Herve.
This changes the rules for when __hash__ is inherited slightly,
by allowing it to be inherited when one or more of __lt__, __le__,
__gt__, __ge__ are overridden, as long as __eq__ and __ne__ aren't.
Diffstat (limited to 'Python/pystrcmp.c')
0 files changed, 0 insertions, 0 deletions
