Changes between Initial Version and Version 1 of Ticket #23102, comment 29


Ignore:
Timestamp:
06/15/17 09:36:19 (4 years ago)
Author:
embray
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23102, comment 29

    initial v1  
    33But that also raises the question of what to do with subclasses.  If you subclass a class with `__richcmp__` and add an `__lt__` in the subclass, the subclass's `__lt__` should take over.  I ''think'' that's what will happen anyways.
    44
    5 But what if you subclass a class that `__lt__` and add `__richcmp__` in the subclass?
     5But what if you subclass a class that has `__lt__` and add `__richcmp__` in the subclass?