diff options
author | Guido van Rossum <guido@python.org> | 2001-01-17 15:24:28 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-01-17 15:24:28 (GMT) |
commit | e797ec1cb8029b88730c246fc8c09623788571c3 (patch) | |
tree | 7097a100ac66a99bd5537fc3f4da21202824593a /Python/getversion.c | |
parent | 00e0f21be8517acde581ef7b93982e852c62ea70 (diff) | |
download | cpython-e797ec1cb8029b88730c246fc8c09623788571c3.zip cpython-e797ec1cb8029b88730c246fc8c09623788571c3.tar.gz cpython-e797ec1cb8029b88730c246fc8c09623788571c3.tar.bz2 |
Rich comparisons. Refactored internal routine do_cmp() and added APIs
PyObject_RichCompare() and PyObject_RichCompareBool().
XXX Note: the code that checks for deeply nested rich comparisons is
bogus -- it assumes the two objects are always identical, rather than
using the same logic as PyObject_Compare(). I'll fix that later.
Diffstat (limited to 'Python/getversion.c')
0 files changed, 0 insertions, 0 deletions