diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2017-11-02 06:30:07 -0700 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2018-11-03 03:21:49 -0700 |
commit | ac5611c0549942f16e4261ca9895e67832bd7285 (patch) | |
tree | 1859e573bada124a5d6054af1fdb9cd0e841b504 /redis/client.py | |
parent | cd5dee3c3638f2341cb97322227b78ea39db1a65 (diff) | |
download | redis-py-ac5611c0549942f16e4261ca9895e67832bd7285.tar.gz |
Use set literals instead of set([...])
Diffstat (limited to 'redis/client.py')
-rwxr-xr-x | redis/client.py | 2 |
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): |