mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Issue #23326: Removed __ne__ implementations. Since fixing default __ne__
implementation in issue #21408 they are redundant.
This commit is contained in:
parent
57f7db3122
commit
08448a1f4d
20 changed files with 3 additions and 104 deletions
|
|
@ -1305,8 +1305,6 @@ class TestDate(HarmlessMixedComparison, unittest.TestCase):
|
|||
return isinstance(other, LargerThanAnything)
|
||||
def __eq__(self, other):
|
||||
return isinstance(other, LargerThanAnything)
|
||||
def __ne__(self, other):
|
||||
return not isinstance(other, LargerThanAnything)
|
||||
def __gt__(self, other):
|
||||
return not isinstance(other, LargerThanAnything)
|
||||
def __ge__(self, other):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue