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
6 changes: 3 additions & 3 deletions redis/commands/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4172,17 +4172,17 @@ def zadd(
the existing score will be incremented by. When using this mode the
return value of ZADD will be the new score of the element.

``LT`` Only update existing elements if the new score is less than
``lt`` only updates existing elements if the new score is less than
the current score. This flag doesn't prevent adding new elements.

``GT`` Only update existing elements if the new score is greater than
``gt`` only updates existing elements if the new score is greater than
the current score. This flag doesn't prevent adding new elements.

The return value of ZADD varies based on the mode specified. With no
options, ZADD returns the number of new elements added to the sorted
set.

``NX``, ``LT``, and ``GT`` are mutually exclusive options.
``nx``, ``lt``, and ``gt`` are mutually exclusive options.

See: https://redis.io/commands/ZADD
"""
Expand Down