summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-11-02 06:30:07 -0700
committerJon Dufresne <jon.dufresne@gmail.com>2018-11-03 03:21:49 -0700
commitac5611c0549942f16e4261ca9895e67832bd7285 (patch)
tree1859e573bada124a5d6054af1fdb9cd0e841b504 /redis/client.py
parentcd5dee3c3638f2341cb97322227b78ea39db1a65 (diff)
downloadredis-py-ac5611c0549942f16e4261ca9895e67832bd7285.tar.gz
Use set literals instead of set([...])
Diffstat (limited to 'redis/client.py')
-rwxr-xr-xredis/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py
index e459e9a..5b69cec 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -3091,7 +3091,7 @@ class BasePipeline(object):
on a key of a different datatype.
"""
- UNWATCH_COMMANDS = set(('DISCARD', 'EXEC', 'UNWATCH'))
+ UNWATCH_COMMANDS = {'DISCARD', 'EXEC', 'UNWATCH'}
def __init__(self, connection_pool, response_callbacks, transaction,
shard_hint):