summaryrefslogtreecommitdiff
path: root/redis/sentinel.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/sentinel.py')
-rw-r--r--redis/sentinel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/sentinel.py b/redis/sentinel.py
index 11263d2..ac5bf44 100644
--- a/redis/sentinel.py
+++ b/redis/sentinel.py
@@ -135,7 +135,7 @@ class Sentinel(object):
>>> master.set('foo', 'bar')
>>> slave = sentinel.slave_for('mymaster', socket_timeout=0.1)
>>> slave.get('foo')
- 'bar'
+ b'bar'
``sentinels`` is a list of sentinel nodes. Each node is represented by
a pair (hostname, port).