Steven D'Aprano <[email protected]> added the comment:
The `<` comparison uses `__lt__` dunder if it exists, otherwise it falls back on `__gt__`. ---------- nosy: +steven.daprano _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue39210> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
