Files
cpython/Tools/scripts/generate_token.py
Lysandros Nikolaou 9a4b38f66b bpo-40267: Fix message when last input character produces a SyntaxError (GH-19521)
When there is a SyntaxError after reading the last input character from
the tokenizer and if no newline follows it, the error message used to be
`unexpected EOF while parsing`, which is wrong.
2020-04-15 11:22:10 -07:00

6.8 KiB
Executable File