Skip to content

python 2.7 SyntaxError #41

Description

@Sidaartha
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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions