File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -47,11 +47,12 @@ Physical lines
4747--------------
4848
4949A physical line is a sequence of characters terminated by an end-of-line
50- sequence. In source files, any of the standard platform line termination
51- sequences can be used - the Unix form using ASCII LF (linefeed), the Windows
52- form using the ASCII sequence CR LF (return followed by linefeed), or the old
53- Macintosh form using the ASCII CR (return) character. All of these forms can be
54- used equally, regardless of platform.
50+ sequence. In source files and strings, any of the standard platform line
51+ termination sequences can be used - the Unix form using ASCII LF (linefeed),
52+ the Windows form using the ASCII sequence CR LF (return followed by linefeed),
53+ or the old Macintosh form using the ASCII CR (return) character. All of these
54+ forms can be used equally, regardless of platform. The end of input also serves
55+ as an implicit terminator for the final physical line.
5556
5657When embedding Python, source code strings should be passed to Python APIs using
5758the standard C conventions for newline characters (the ``\n `` character,
You can’t perform that action at this time.
0 commit comments