summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2016-09-21 16:47:21 -0400
committerGitHub <noreply@github.com>2016-09-21 16:47:21 -0400
commit0bf4eb83a8f01fe80f509418dd70d27119ec8830 (patch)
treee0d45686630106d6db2ab1cd2f139352ac5af3b5
parenta87ae0ddb5b591f15527312229a7c92284012a5b (diff)
parente9bd753ee1cd639c75b38a559f09bb37656273a2 (diff)
downloadredis-py-0bf4eb83a8f01fe80f509418dd70d27119ec8830.tar.gz
Merge pull request #786 from PramodBisht/master
Fixed typos in docs
-rwxr-xr-xredis/client.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/redis/client.py b/redis/client.py
index c7b1fb3..c18b08d 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -2072,7 +2072,7 @@ class StrictRedis(object):
"""
Add the specified geospatial items to the specified key identified
by the ``name`` argument. The Geospatial items are given as ordered
- members of the ``values`` argument, each item or place is formed b
+ members of the ``values`` argument, each item or place is formed by
the triad latitude, longitude and name.
"""
if len(values) % 3 != 0:
@@ -2084,7 +2084,7 @@ class StrictRedis(object):
"""
Return the distance between ``place1`` and ``place2`` members of the
``name`` key.
- The units must be one o fthe following : m, km mi, ft. By default
+ The units must be one of the following : m, km mi, ft. By default
meters are used.
"""
pieces = [name, place1, place2]
@@ -2103,7 +2103,7 @@ class StrictRedis(object):
def geopos(self, name, *values):
"""
- Return the postitions of each item of ``values`` as members of
+ Return the positions of each item of ``values`` as members of
the specified key identified by the ``name``argument. Each position
is represented by the pairs lat and lon.
"""
@@ -2113,12 +2113,12 @@ class StrictRedis(object):
withdist=False, withcoord=False, withhash=False, count=None,
sort=None, store=None, store_dist=None):
"""
- Return the members of the of the specified key identified by the
+ Return the members of the specified key identified by the
``name``argument which are within the borders of the area specified
- with the ``latitude`` and ``longitude`` location and the maxium
- distnance from the center specified by the ``radius`` value.
+ with the ``latitude`` and ``longitude`` location and the maximum
+ distance from the center specified by the ``radius`` value.
- The units must be one o fthe following : m, km mi, ft. By default
+ The units must be one of the following : m, km mi, ft. By default
``withdist`` indicates to return the distances of each place.
@@ -2137,7 +2137,7 @@ class StrictRedis(object):
populated with the score got from the original geo sorted set.
``store_dist`` indicates to save the places names in a sorted set
- named with a sepcific key, instead of ``store`` the sorted set
+ named with a specific key, instead of ``store`` the sorted set
destination score is set with the distance.
"""
return self._georadiusgeneric('GEORADIUS',