mirror of
https://github.com/django/django.git
synced 2025-11-28 14:37:59 +00:00
Refs #23919 -- Removed obsolete __ne__() methods.
__ne__() defaults to the opposite of __eq__() on Python 3 when it doesn't return NotImplemented.
This commit is contained in:
parent
3cc5f01d9b
commit
eb422e476f
19 changed files with 0 additions and 64 deletions
|
|
@ -68,9 +68,6 @@ class RegexValidator(object):
|
|||
(self.inverse_match == other.inverse_match)
|
||||
)
|
||||
|
||||
def __ne__(self, other):
|
||||
return not (self == other)
|
||||
|
||||
|
||||
@deconstructible
|
||||
class URLValidator(RegexValidator):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue