From a304953ed57c81a008a0217df375239a85ad7a04 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sun, 24 Jul 2022 22:34:26 +1000 Subject: docs: Fix a few typos (#2274) * docs: Fix a few typos There are small typos in: - redis/cluster.py - redis/commands/core.py - redis/ocsp.py - tests/test_cluster.py Fixes: - Should read `validity` rather than `valididy`. - Should read `reinitialize` rather than `reinitilize`. - Should read `farthest` rather than `farest`. - Should read `commands` rather than `comamnds`. * Update core.py --- redis/commands/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'redis/commands/core.py') diff --git a/redis/commands/core.py b/redis/commands/core.py index 6d67415..027d3db 100644 --- a/redis/commands/core.py +++ b/redis/commands/core.py @@ -5459,7 +5459,7 @@ class GeoCommands(CommandsProtocol): `m` for meters (the default value), `km` for kilometers, `mi` for miles and `ft` for feet. ``sort`` indicates to return the places in a sorted way, - ASC for nearest to farest and DESC for farest to nearest. + ASC for nearest to furthest and DESC for furthest to nearest. ``count`` limit the results to the first count matching items. ``any`` is set to True, the command will return as soon as enough matches are found. Can't be provided without ``count`` -- cgit v1.2.1