[docs] [issue33766] Grammar Incongruence
Terry J. Reedy
report at bugs.python.org
Fri Jun 8 14:39:34 EDT 2018
Terry J. Reedy <tjreedy at udel.edu> added the comment:
A few years ago, there was a particular case in which compile failed without a trailing newline. We fixed it so that it would work anyway.
Unless we are willing for a conforming Python interpreter to fail
The Reference Manual should be clear that EOF and EOS (end-of-string) is treated as NEWLINE.
Python tracker <report at bugs.python.org>
More information about the docs