[docs] [issue35962] Slight error in words in [ 2.4.1. String and Bytes literals ]

Nick Coghlan report at bugs.python.org
Sat Feb 16 13:01:40 EST 2019


Nick Coghlan <ncoghlan at gmail.com> added the comment:

I agree the current text is ambiguous given how often folks refer to the newline escape sequence as a "newline", but it isn't wrong - it's just talking about escaping literal newlines in your source code like:

>>> "This is a \
... single-line string"
'This is a single-line string'

When this paragraph is being updated, it would be good to add a cross-reference down to the table of escape sequences later in the section.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35962>
_______________________________________


More information about the docs mailing list