Skip to content

Commit 77eadf3

Browse files
author
2014BDuck
committed
#1434 Fixed typo and doc
1 parent 49af347 commit 77eadf3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

redis/client.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3071,14 +3071,15 @@ def zmscore(self, key, members):
30713071
30723072
``members`` should be a list of the member name.
30733073
Return type is a list of score.
3074-
If no member can be matched, an empty list will be returned.
3074+
3075+
If the member does not exist, a None will be returned
3076+
in corresponding position.
30753077
"""
30763078
if not isinstance(members, list) or len(members) < 1:
30773079
raise DataError('ZMSCORE members must be a non-empty list')
30783080
pieces = [key] + members
30793081
return self.execute_command('ZMSCORE', *pieces)
30803082

3081-
30823083
def _zaggregate(self, command, dest, keys, aggregate=None):
30833084
pieces = [command, dest, len(keys)]
30843085
if isinstance(keys, dict):

0 commit comments

Comments
 (0)