From 44f95a2c421ffc739e84524351b9f4f7d78014d1 Mon Sep 17 00:00:00 2001 From: Romuald Brunet Date: Thu, 1 Dec 2016 14:56:51 +0100 Subject: [PATCH] Fix some typos in docstrings --- memcache.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/memcache.py b/memcache.py index 9823a2f..b9ccb7b 100644 --- a/memcache.py +++ b/memcache.py @@ -729,9 +729,9 @@ def set(self, key, val, time=0, min_compress_len=0, noreply=False): routine. If the value being cached is a string, then the length of the string is measured, else if the value is an object, then the length of the pickle result is measured. If - the resulting attempt at compression yeilds a larger string + the resulting attempt at compression yields a larger string than the input, then it is discarded. For backwards - compatability, this parameter defaults to 0, indicating don't + compatibility, this parameter defaults to 0, indicating don't ever try to compress. @param noreply: optional parameter instructs the server to not @@ -766,9 +766,9 @@ def cas(self, key, val, time=0, min_compress_len=0, noreply=False): routine. If the value being cached is a string, then the length of the string is measured, else if the value is an object, then the length of the pickle result is measured. If - the resulting attempt at compression yeilds a larger string + the resulting attempt at compression yields a larger string than the input, then it is discarded. For backwards - compatability, this parameter defaults to 0, indicating don't + compatibility, this parameter defaults to 0, indicating don't ever try to compress. @param noreply: optional parameter instructs the server to not @@ -889,9 +889,9 @@ def set_multi(self, mapping, time=0, key_prefix='', min_compress_len=0, routine. If the value being cached is a string, then the length of the string is measured, else if the value is an object, then the length of the pickle result is - measured. If the resulting attempt at compression yeilds a + measured. If the resulting attempt at compression yields a larger string than the input, then it is discarded. For - backwards compatability, this parameter defaults to 0, + backwards compatibility, this parameter defaults to 0, indicating don't ever try to compress. @param noreply: optional parameter instructs the server to not @@ -1186,7 +1186,7 @@ def get_multi(self, keys, key_prefix=''): prefix. @return: A dictionary of key/value pairs that were - available. If key_prefix was provided, the keys in the retured + available. If key_prefix was provided, the keys in the returned dictionary will not have it present. '''