Skip to content

Commit 11043df

Browse files
typing: accept single-key input for blpop and brpop (#3990)
Co-authored-by: petyaslavova <petya.slavova@redis.com>
1 parent d958125 commit 11043df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

redis/commands/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2904,7 +2904,7 @@ def blpop(
29042904
) -> Union[Awaitable[list], list]:
29052905
"""
29062906
LPOP a value off of the first non-empty list
2907-
named in the ``keys`` list.
2907+
named in ``keys``.
29082908
29092909
If none of the lists in ``keys`` has a value to LPOP, then block
29102910
for ``timeout`` seconds, or until a value gets pushed on to one
@@ -2925,7 +2925,7 @@ def brpop(
29252925
) -> Union[Awaitable[list], list]:
29262926
"""
29272927
RPOP a value off of the first non-empty list
2928-
named in the ``keys`` list.
2928+
named in ``keys``.
29292929
29302930
If none of the lists in ``keys`` has a value to RPOP, then block
29312931
for ``timeout`` seconds, or until a value gets pushed on to one

0 commit comments

Comments
 (0)