mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38: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
|
@ -2015,10 +2015,6 @@ class _Call(tuple):
|
|||
return (other_args, other_kwargs) == (self_args, self_kwargs)
|
||||
|
||||
|
||||
def __ne__(self, other):
|
||||
return not self.__eq__(other)
|
||||
|
||||
|
||||
def __call__(self, *args, **kwargs):
|
||||
if self.name is None:
|
||||
return _Call(('', args, kwargs), name='()')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue