summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2018-10-31 13:13:41 -0700
committerAndy McCurdy <andy@andymccurdy.com>2018-10-31 13:13:41 -0700
commita3cfa77ab01e56d8af6d40c2d9e31f56017ef3eb (patch)
tree3dce7cf68cf17b6a7efb1e946346837d861350b8
parent618deba4daed183e9e9734b18bbac44523b68fd6 (diff)
downloadredis-py-a3cfa77ab01e56d8af6d40c2d9e31f56017ef3eb.tar.gz
fix comment
-rwxr-xr-xredis/client.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/redis/client.py b/redis/client.py
index 1ef2ace..a080a5c 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -1760,8 +1760,7 @@ class StrictRedis(object):
def xadd(self, name, fields, id='*', maxlen=None, approximate=True):
"""
Add to a stream.
- _name: name of the stream (not using 'name' as this would
- prevent 'name' used in the kwargs
+ name: name of the stream
fields: dict of field/value pairs to insert into the stream
id: Location to insert this record. By default it is appended.
maxlen: truncate old stream members beyond this size