Skip to content

Commit 465f42d

Browse files
authored
Merge pull request #20 from timgates42/bugfix_typos
docs: Fix a few typos
2 parents 5539869 + 43cdb00 commit 465f42d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

memcache.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ def set(self, key, val, time=0, min_compress_len=0):
566566
of the value using the zlib.compress() routine. If the value being cached is
567567
a string, then the length of the string is measured, else if the value is an
568568
object, then the length of the pickle result is measured. If the resulting
569-
attempt at compression yeilds a larger string than the input, then it is
569+
attempt at compression yields a larger string than the input, then it is
570570
discarded. For backwards compatability, this parameter defaults to 0,
571571
indicating don't ever try to compress.
572572
'''
@@ -596,7 +596,7 @@ def cas(self, key, val, time=0, min_compress_len=0):
596596
the value being cached is a string, then the length of the string is
597597
measured, else if the value is an object, then the length of the
598598
pickle result is measured. If the resulting attempt at compression
599-
yeilds a larger string than the input, then it is discarded. For
599+
yields a larger string than the input, then it is discarded. For
600600
backwards compatability, this parameter defaults to 0, indicating
601601
don't ever try to compress.
602602
'''
@@ -675,7 +675,7 @@ def set_multi(self, mapping, time=0, key_prefix='', min_compress_len=0):
675675
of the value using the zlib.compress() routine. If the value being cached is
676676
a string, then the length of the string is measured, else if the value is an
677677
object, then the length of the pickle result is measured. If the resulting
678-
attempt at compression yeilds a larger string than the input, then it is
678+
attempt at compression yields a larger string than the input, then it is
679679
discarded. For backwards compatability, this parameter defaults to 0,
680680
indicating don't ever try to compress.
681681
@return: List of keys which failed to be stored [ memcache out of memory, etc. ].
@@ -928,7 +928,7 @@ def get_multi(self, keys, key_prefix=''):
928928
@param keys: An array of keys.
929929
@param key_prefix: A string to prefix each key when we communicate with memcache.
930930
Facilitates pseudo-namespaces within memcache. Returned dictionary keys will not have this prefix.
931-
@return: A dictionary of key/value pairs that were available. If key_prefix was provided, the keys in the retured dictionary will not have it present.
931+
@return: A dictionary of key/value pairs that were available. If key_prefix was provided, the keys in the returned dictionary will not have it present.
932932
933933
'''
934934

0 commit comments

Comments
 (0)