Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e797ec1

Browse files
committed
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.
1 parent 00e0f21 commit e797ec1

1 file changed

Lines changed: 293 additions & 74 deletions

File tree

0 commit comments

Comments
 (0)