summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2020-08-21 07:18:59 +0200
committerGitHub <noreply@github.com>2020-08-21 07:18:59 +0200
commit7b548bc59624c34eeab0fdf3806145a5b93ac7e4 (patch)
tree18d3ec3b706993e5a00c30259ba2d7c05ae6ad4a
parent2e7b82c0a70cd968a7d340d8bf2f56f3fc5a6237 (diff)
downloadpymemcache-7b548bc59624c34eeab0fdf3806145a5b93ac7e4.tar.gz
Fix typos discovered by codespell
-rw-r--r--pymemcache/client/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pymemcache/client/base.py b/pymemcache/client/base.py
index 55bfb55..1bf006f 100644
--- a/pymemcache/client/base.py
+++ b/pymemcache/client/base.py
@@ -832,7 +832,7 @@ class Client(object):
"""
This function is abstracted from _fetch_cmd to support different ways
of value extraction. In order to use this feature, _extract_value needs
- to be overriden in the subclass.
+ to be overridden in the subclass.
"""
if expect_cas:
_, key, flags, size, cas = line.split()
@@ -1001,7 +1001,7 @@ class PooledClient(object):
triggers a runtime error), by default this is 2147483648L
when not provided (or none).
lock_generator: a callback/type that takes no arguments that will
- be called to create a lock or sempahore that can
+ be called to create a lock or semaphore that can
protect the pool from concurrent access (for example a
eventlet lock or semaphore could be used instead)