Skip to content

Commit 3db0014

Browse files
authored
Merge pull request #855 from categulario/categulario/fix-help-text
change order of lon-lat in geoadd help text
2 parents 302731f + 92b977f commit 3db0014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2097,7 +2097,7 @@ def geoadd(self, name, *values):
20972097
Add the specified geospatial items to the specified key identified
20982098
by the ``name`` argument. The Geospatial items are given as ordered
20992099
members of the ``values`` argument, each item or place is formed by
2100-
the triad latitude, longitude and name.
2100+
the triad longitude, latitude and name.
21012101
"""
21022102
if len(values) % 3 != 0:
21032103
raise RedisError("GEOADD requires places with lat, lon and name"

0 commit comments

Comments
 (0)