Skip to content

Commit e9b327c

Browse files
committed
Merge pull request #383 from eode/master
Make docstring for hmset less ambiguous
2 parents 89d88d6 + 27d6d1b commit e9b327c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redis/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,8 +1484,8 @@ def hsetnx(self, name, key, value):
14841484

14851485
def hmset(self, name, mapping):
14861486
"""
1487-
Sets each key in the ``mapping`` dict to its corresponding value
1488-
in the hash ``name``
1487+
Set key to value within hash ``name`` for each corresponding
1488+
key and value from the ``mapping`` dict.
14891489
"""
14901490
if not mapping:
14911491
raise DataError("'hmset' with 'mapping' of length 0")

0 commit comments

Comments
 (0)