summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Chen Wang <60190294+Andrew-Chen-Wang@users.noreply.github.com>2021-10-18 04:05:19 -0400
committerGitHub <noreply@github.com>2021-10-18 11:05:19 +0300
commit46430c2b756df8e6ffe7b33ac52c987a6a9c8cce (patch)
tree237579913916c7904ebf50cc2b797e54bf1c7717
parent55ea5fb2051d7c80ae86766758058502f50ba23c (diff)
downloadredis-py-46430c2b756df8e6ffe7b33ac52c987a6a9c8cce.tar.gz
Fix grammar of get param in set command (#1588)
-rw-r--r--redis/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/commands.py b/redis/commands.py
index 2eb3d10..9bd57e8 100644
--- a/redis/commands.py
+++ b/redis/commands.py
@@ -1146,7 +1146,7 @@ class Commands:
(Available since Redis 6.0)
``get`` if True, set the value at key ``name`` to ``value`` and return
- the old value stored at key, or None when key did not exist.
+ the old value stored at key, or None if the key did not exist.
(Available since Redis 6.2)
``exat`` sets an expire flag on key ``name`` for ``ex`` seconds,