[docs] [issue33766] Grammar Incongruence
report at bugs.python.org
Mon Jun 4 00:55:42 EDT 2018
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
Good point Ammar.
Seems there is also a missing corner case in the definition of a physical line:
A physical line is a sequence of characters terminated by an end-of-line sequence. In source files, any of the standard platform line termination sequences can be used - the Unix form using ASCII LF (linefeed), the Windows form using the ASCII sequence CR LF (return followed by linefeed), or the old Macintosh form using the ASCII CR (return) character. All of these forms can be used equally, regardless of platform.
It misses a case when a physical line is terminated by the end of file.
assignee: -> docs at python
components: +Documentation -Interpreter Core
nosy: +docs at python, gvanrossum
versions: +Python 2.7 -Python 3.5
Python tracker <report at bugs.python.org>
More information about the docs