redisjson-py
redisjson-py copied to clipboard
python 2.7 SyntaxError
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.7/site-packages/rejson/__init__.py", line 124, in <module>
from .client import Client
File "/Library/Python/2.7/site-packages/rejson/client.py", line 106
def jsonget(self, name, *args, no_escape=False):
^
SyntaxError: invalid syntax
In Python 2, all positional arguments must come before any *args argument.
@Sidaartha you can use this #42 PR (branch fix_2_7), but if we merge it we'll create a backward issue, see the failed test on the PR