summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2017-07-31 12:47:01 -0400
committerAndy McCurdy <andy@andymccurdy.com>2017-07-31 12:47:01 -0400
commita3502de93b5d74b28a1a8952515b5775b14c653f (patch)
tree8400b574f5e4989010082555c580353d81833aae
parent037771123901539089a1f8f72940622539b8f9c1 (diff)
parent2556d78784c390da459e3e7c8230af17b3ec0633 (diff)
downloadredis-py-a3502de93b5d74b28a1a8952515b5775b14c653f.tar.gz
Merge branch 'master' of github.com:andymccurdy/redis-py
-rwxr-xr-xredis/client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/redis/client.py b/redis/client.py
index 9139906..4bab5fb 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -2114,7 +2114,7 @@ class StrictRedis(object):
the triad longitude, latitude and name.
"""
if len(values) % 3 != 0:
- raise RedisError("GEOADD requires places with lat, lon and name"
+ raise RedisError("GEOADD requires places with lon, lat and name"
" values")
return self.execute_command('GEOADD', name, *values)
@@ -2143,7 +2143,7 @@ class StrictRedis(object):
"""
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.
+ is represented by the pairs lon and lat.
"""
return self.execute_command('GEOPOS', name, *values)