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/core/cache/__init__.py | |
| 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/core/cache/__init__.py')
| -rw-r--r-- | django/core/cache/__init__.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/django/core/cache/__init__.py b/django/core/cache/__init__.py index cd2bb43886..2b253b1077 100644 --- a/django/core/cache/__init__.py +++ b/django/core/cache/__init__.py @@ -110,9 +110,6 @@ class DefaultCacheProxy(object): def __eq__(self, other): return caches[DEFAULT_CACHE_ALIAS] == other - def __ne__(self, other): - return caches[DEFAULT_CACHE_ALIAS] != other - cache = DefaultCacheProxy() |
