diff options
author | Andrew Chen Wang <60190294+Andrew-Chen-Wang@users.noreply.github.com> | 2021-10-18 04:05:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-18 11:05:19 +0300 |
commit | 46430c2b756df8e6ffe7b33ac52c987a6a9c8cce (patch) | |
tree | 237579913916c7904ebf50cc2b797e54bf1c7717 /redis | |
parent | 55ea5fb2051d7c80ae86766758058502f50ba23c (diff) | |
download | redis-py-46430c2b756df8e6ffe7b33ac52c987a6a9c8cce.tar.gz |
Fix grammar of get param in set command (#1588)
Diffstat (limited to 'redis')
-rw-r--r-- | redis/commands.py | 2 |
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, |