Skip to content

Commit

Permalink
Merge branch 'master' of github.com:andymccurdy/redis-py
Browse files Browse the repository at this point in the history
  • Loading branch information
andymccurdy committed Jul 31, 2017
2 parents 0377711 + 2556d78 commit a3502de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions redis/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2114,7 +2114,7 @@ def geoadd(self, name, *values):
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)

Expand Down Expand Up @@ -2143,7 +2143,7 @@ def geopos(self, name, *values):
"""
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)

Expand Down

0 comments on commit a3502de

Please sign in to comment.