summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Brookins <a.m.brookins@gmail.com>2020-06-26 10:07:57 -0700
committerRoey Prat <roey.prat@redislabs.com>2020-06-29 18:43:44 +0300
commitd71379186e75441909657cd2f6395e89583078fd (patch)
tree946c66c3f6abf26f55e65d6dd5c4f537128d04c8
parent7e466f7bee41d88e01d22e3a4c904e0e578630c9 (diff)
downloadredis-py-d71379186e75441909657cd2f6395e89583078fd.tar.gz
Fix acl_setuser docstring
Fix the docstring for acl_setuser() so that it refers to the correct parameter name,`passwords`.
-rwxr-xr-xredis/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py
index 5cf778c..9de90fb 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -993,7 +993,7 @@ class Redis(object):
``passwords`` if specified is a list of plain text passwords
to add to or remove from the user. Each password must be prefixed with
a '+' to add or a '-' to remove. For convenience, the value of
- ``add_passwords`` can be a simple prefixed string when adding or
+ ``passwords`` can be a simple prefixed string when adding or
removing a single password.
``hashed_passwords`` if specified is a list of SHA-256 hashed passwords