summaryrefslogtreecommitdiff
path: root/django/core/cache/backends
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-02-02 20:43:21 -0500
committerTim Graham <timograham@gmail.com>2017-02-03 08:01:45 -0500
commit29f607927fe82e2c8baab171dfa8baf710cd9b83 (patch)
treef525c6c4784ccafe77e01f706093fa6f4a5c9481 /django/core/cache/backends
parenta21ec12409a5b72d602cd03ee925b6ceb1cd5492 (diff)
Fixed spelling of "nonexistent".
Diffstat (limited to 'django/core/cache/backends')
-rw-r--r--django/core/cache/backends/memcached.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/core/cache/backends/memcached.py b/django/core/cache/backends/memcached.py
index 6be2378e56..8f87f487bf 100644
--- a/django/core/cache/backends/memcached.py
+++ b/django/core/cache/backends/memcached.py
@@ -108,7 +108,7 @@ class BaseMemcachedCache(BaseCache):
try:
val = self._cache.incr(key, delta)
- # python-memcache responds to incr on non-existent keys by
+ # python-memcache responds to incr on nonexistent keys by
# raising a ValueError, pylibmc by raising a pylibmc.NotFound
# and Cmemcache returns None. In all cases,
# we should raise a ValueError though.
@@ -126,7 +126,7 @@ class BaseMemcachedCache(BaseCache):
try:
val = self._cache.decr(key, delta)
- # python-memcache responds to incr on non-existent keys by
+ # python-memcache responds to incr on nonexistent keys by
# raising a ValueError, pylibmc by raising a pylibmc.NotFound
# and Cmemcache returns None. In all cases,
# we should raise a ValueError though.