dmeranda / demjson

Python module for JSON data encoding, including jsonlint. See the project Wiki here on Github. Also read the README at the bottom of this page, or the project homepage at
http://deron.meranda.us/python/demjson/
Other
302 stars 76 forks source link

Fix a syntax typo #35

Open hroncok opened 4 years ago

hroncok commented 4 years ago

This worked for now, but is SyntaxError in Python 3.9.0a6:

  File "/usr/lib/python3.9/site-packages/demjson.py", line 4853
    elif c.isalpha() or c in'_$':
                           ^
SyntaxError: invalid string prefix

(The Python change might actually be reverted before 3.9 final, but this can be fixed anyway.)

LaikaN57 commented 2 years ago

@dmeranda bump

This seems pretty straightforward. Can we get this merged in? Is there anything else you need on the PR?