Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More adaption to Python 3.10 syntax error message
$ python2.7 -c 'syntax error' File "<string>", line 1 syntax error ^ SyntaxError: invalid syntax $ python3.6 -c 'syntax error' File "<string>", line 1 syntax error ^ SyntaxError: invalid syntax $ python3.8 -c 'syntax error' File "<string>", line 1 syntax error ^ SyntaxError: invalid syntax $ python3.9 -c 'syntax error' File "<string>", line 1 syntax error ^ SyntaxError: invalid syntax $ python3.10 -c 'syntax error' File "<string>", line 1 syntax error ^^^^^ SyntaxError: invalid syntax
- Loading branch information