Skip to content

Commit 46430c2

Browse files
Fix grammar of get param in set command (#1588)
1 parent 55ea5fb commit 46430c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ def set(self, name, value,
11461146
(Available since Redis 6.0)
11471147
11481148
``get`` if True, set the value at key ``name`` to ``value`` and return
1149-
the old value stored at key, or None when key did not exist.
1149+
the old value stored at key, or None if the key did not exist.
11501150
(Available since Redis 6.2)
11511151
11521152
``exat`` sets an expire flag on key ``name`` for ``ex`` seconds,

0 commit comments

Comments
 (0)