diff options
author | Lysandros Nikolaou <lisandrosnik@gmail.com> | 2020-04-15 21:22:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 11:22:10 -0700 |
commit | 9a4b38f66b3e674db94e07980e1cacb39e388c73 (patch) | |
tree | b8046dd0e0b7b9bf0e3592b88c9dc0cd2c7f7ae5 /Lib/pydoc.py | |
parent | 574547a75c79b506261520c5773ae08a1dcea1b9 (diff) | |
download | cpython-9a4b38f66b3e674db94e07980e1cacb39e388c73.tar.gz cpython-9a4b38f66b3e674db94e07980e1cacb39e388c73.zip |
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.
Diffstat (limited to 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions