diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2018-11-15 01:58:05 -0800 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2018-11-15 01:58:05 -0800 |
commit | 9b03af26dc829beea232a3248768de933f4c3b67 (patch) | |
tree | 58b463f80704445df1e62d097389d9b37d85c7a7 | |
parent | 1a1559b8caca0412b5621d2c8768577bbf0ccac3 (diff) | |
download | redis-py-9b03af26dc829beea232a3248768de933f4c3b67.tar.gz |
rst format fixes3.0.0
-rw-r--r-- | README.rst | 10 | ||||
-rw-r--r-- | setup.py | 1 |
2 files changed, 6 insertions, 5 deletions
@@ -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. @@ -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', |