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.
L
Lysandros Nikolaou committed
9a4b38f66b3e674db94e07980e1cacb39e388c73
Parent: 574547a
Committed by GitHub <noreply@github.com>
on 4/15/2020, 6:22:10 PM