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