diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2017-01-18 21:35:59 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-01-18 21:44:00 -0500 |
| commit | eb422e476f3c0070dbf200bd62d97d12150c6fd9 (patch) | |
| tree | 5268a6d44f039da8adeaecea0fd605c6653a723d /django/forms | |
| parent | 3cc5f01d9bd52930cec3c08d6ec7e19d0c2a6489 (diff) | |
Refs #23919 -- Removed obsolete __ne__() methods.
__ne__() defaults to the opposite of __eq__() on Python 3
when it doesn't return NotImplemented.
Diffstat (limited to 'django/forms')
| -rw-r--r-- | django/forms/utils.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/django/forms/utils.py b/django/forms/utils.py index 3a86f419df..59d70178f4 100644 --- a/django/forms/utils.py +++ b/django/forms/utils.py @@ -133,9 +133,6 @@ class ErrorList(UserList, list): def __eq__(self, other): return list(self) == other - def __ne__(self, other): - return list(self) != other - def __getitem__(self, i): error = self.data[i] if isinstance(error, ValidationError): |
