summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Chen Wang <60190294+Andrew-Chen-Wang@users.noreply.github.com>2021-10-05 10:38:32 -0400
committerGitHub <noreply@github.com>2021-10-05 17:38:32 +0300
commit9419f1d56beff5b350c87785cc57f2431fe85cbb (patch)
treeb8123e3ea0e0a04166561e6f56cf9ed9a60502be
parent677476d734d178e4ad89538042567367f703512b (diff)
downloadredis-py-9419f1d56beff5b350c87785cc57f2431fe85cbb.tar.gz
Use Oxford comma properly in getex (#1586)
-rw-r--r--redis/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/commands.py b/redis/commands.py
index 48d234e..eb7cea5 100644
--- a/redis/commands.py
+++ b/redis/commands.py
@@ -843,7 +843,7 @@ class Commands:
opset = set([ex, px, exat, pxat])
if len(opset) > 2 or len(opset) > 1 and persist:
- raise DataError("``ex``, ``px``, ``exat``, ``pxat``",
+ raise DataError("``ex``, ``px``, ``exat``, ``pxat``, "
"and ``persist`` are mutually exclusive.")
pieces = []