summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2018-11-15 01:58:05 -0800
committerAndy McCurdy <andy@andymccurdy.com>2018-11-15 01:58:05 -0800
commit9b03af26dc829beea232a3248768de933f4c3b67 (patch)
tree58b463f80704445df1e62d097389d9b37d85c7a7
parent1a1559b8caca0412b5621d2c8768577bbf0ccac3 (diff)
downloadredis-py-9b03af26dc829beea232a3248768de933f4c3b67.tar.gz
rst format fixes3.0.0
-rw-r--r--README.rst10
-rw-r--r--setup.py1
2 files changed, 6 insertions, 5 deletions
diff --git a/README.rst b/README.rst
index 0aa939c..7cae91d 100644
--- a/README.rst
+++ b/README.rst
@@ -103,11 +103,11 @@ MSET, MSETNX and ZADD
^^^^^^^^^^^^^^^^^^^^^
These commands all accept a mapping of key/value pairs. In redis-py 2.X
-this mapping could be specified as \*args or as \**kwargs. Both of these styles
-caused issues when Redis introduced optional flags to ZADD. Relying on \*args
-caused issues with the optional argument order, especially in Python 2.7.
-Relying on \**kwargs caused potential collision issues of user keys with the
-argument names in the method signature.
+this mapping could be specified as ``*args`` or as ``**kwargs``. Both of these
+styles caused issues when Redis introduced optional flags to ZADD. Relying on
+``*args`` caused issues with the optional argument order, especially in Python
+2.7. Relying on ``**kwargs`` caused potential collision issues of user keys with
+the argument names in the method signature.
To resolve this, redis-py 3.0 has changed these three commands to all accept
a single positional argument named mapping that is expected to be a dict.
diff --git a/setup.py b/setup.py
index 1e24ddd..a4ee39e 100644
--- a/setup.py
+++ b/setup.py
@@ -36,6 +36,7 @@ setup(
version=__version__,
description='Python client for Redis key-value store',
long_description=long_description,
+ long_description_content_type='text/x-rst',
url='https://github.com/andymccurdy/redis-py',
author='Andy McCurdy',
author_email='sedrik@gmail.com',