Kaydet (Commit) e797ec1c authored tarafından Guido van Rossum's avatar Guido van Rossum

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.
üst 00e0f21b
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment