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

2019-02-16 Thread Nick Coghlan
Nick Coghlan 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

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

2019-02-14 Thread SilentGhost
Change by SilentGhost : -- nosy: +remi.lapeyre ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

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

2019-02-14 Thread SilentGhost
SilentGhost added the comment: I don't think that's what the sentence say at all. It says, that a backslash can be used to escape a newline character (not "n"). This refers only to triple-quoted literals and is described in the first row of the table of escape sequences below. -- no

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

2019-02-14 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: You will find the line you want to change in `Doc/reference/lexical_analysis.rst` -- ___ Python tracker ___ ___

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

2019-02-14 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi Magnien, if you have already used Git, everything should be familiar. You have to clone the whole project, but the documentation leaves in the `Doc` folder. There is a lot of information that you can get at https://devguide.python.org/documenting/ If you ge

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

2019-02-14 Thread Magnien Sebastien
Magnien Sebastien added the comment: I'm all up for it; however I only ever worked on small solo projects. I don't really know where to start. Must I clone the whole python repo, or is there maybe a doc repo? -- ___ Python tracker

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

2019-02-13 Thread Lisa Roach
Lisa Roach added the comment: The updated line sounds good to me, please make a PR. -- nosy: +lisroach ___ Python tracker ___ ___ P

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

2019-02-12 Thread Cheryl Sabella
Change by Cheryl Sabella : -- nosy: +ncoghlan versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

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

2019-02-11 Thread Magnien Sebastien
New submission from Magnien Sebastien : The documentation reads : " The backslash (\) character is used to escape characters that otherwise have a special meaning, such as newline, backslash itself, or the quote character. " However, 'n' does not "otherwise have a special meaning", nor does i