[issue41905] add update_abstractmethods function to update an ABC's abstract methods

Raymond Hettinger report at bugs.python.org
Sat Oct 3 01:50:29 EDT 2020


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

> it's totally clear to me what @total_ordering should do 
> -- it should define __le__, __gt__ and __ge__ in terms 
> of __lt__, and leave __lt__ alone, for some subclass to 
> implement.

+1

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41905>
_______________________________________


More information about the Python-bugs-list mailing list