summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsantiago2719 <nsantiago2719@gmail.com>2017-07-31 09:13:04 +0800
committernsantiago2719 <nsantiago2719@gmail.com>2017-07-31 09:13:04 +0800
commit23de82967c7424a5923c45170785216cea29feea (patch)
tree1bc2bd735999c9a1f08bc7b06c43c9f5bf854aad
parent0adba8081b0caf5150cdc2f5ca0111207eb130a0 (diff)
downloadredis-py-23de82967c7424a5923c45170785216cea29feea.tar.gz
add note on readme file
-rw-r--r--README.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index 29f9b5d..c05a2da 100644
--- a/README.rst
+++ b/README.rst
@@ -37,7 +37,7 @@ Getting Started
.. code-block:: pycon
>>> import redis
- >>> r = redis.StrictRedis(host='localhost', port=6379, db=0)
+ >>> r = redis.StrictRedis(host='localhost', port=6379, db=0) #Add `decode_responses=True` if you are using Python 3
>>> r.set('foo', 'bar')
True
>>> r.get('foo')