Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion redis/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ def client_list(self, _type=None, client_id=[]):
If type of client specified, only that type will be returned.
:param _type: optional. one of the client types (normal, master,
replica, pubsub)
:param client_id: optional. a list of client ids
"""
"Returns a list of currently connected clients"
args = []
Expand Down Expand Up @@ -2189,7 +2190,7 @@ def xtrim(self, name, maxlen=None, approximate=True, minid=None,
"""
pieces = []
if maxlen is not None and minid is not None:
raise DataError("Only one of ```maxlen``` or ```minid```",
raise DataError("Only one of ``maxlen`` or ``minid`` "
"may be specified")

if maxlen is not None:
Expand Down