Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some typos in docstrings #105

Merged
merged 1 commit into from
Dec 17, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions memcache.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
'''

Expand Down