Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-95994: Clarify escaped newlines. #96066

Merged
merged 3 commits into from Aug 26, 2022

Conversation

ezio-melotti
Copy link
Member

@ezio-melotti ezio-melotti commented Aug 18, 2022

Copy link
Member

@CAM-Gerlach CAM-Gerlach left a comment

Good change overall;, thanks two comments.

Sidenote: Presumably out of scope here, but using actual footnotes for these would not only be more convenient for readers and more semantically meaningful, but also (with autonumbered named footnotes) avoid extra work, diff noise and bugs due to misaligned footnotes.

Doc/reference/lexical_analysis.rst Outdated Show resolved Hide resolved
Doc/reference/lexical_analysis.rst Outdated Show resolved Hide resolved
ezio-melotti and others added 2 commits Aug 21, 2022
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
@ezio-melotti ezio-melotti merged commit c3d591f into python:main Aug 26, 2022
14 checks passed
@miss-islington
Copy link
Contributor

miss-islington commented Aug 26, 2022

Thanks @ezio-melotti for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒🤖

@ezio-melotti ezio-melotti deleted the escaped-newline branch Aug 26, 2022
@bedevere-bot
Copy link

bedevere-bot commented Aug 26, 2022

GH-96321 is a backport of this pull request to the 3.11 branch.

@miss-islington
Copy link
Contributor

miss-islington commented Aug 26, 2022

Sorry, @ezio-melotti, I could not cleanly backport this to 3.10 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker c3d591fd0699605c8253beda2372114052a7bdba 3.10

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 26, 2022
* pythongh-95994: clarify escaped newlines.

* Rephrase ambiguous sentence.

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>

* Use `<newline>` in escape sequences table.

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit c3d591f)

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
@miss-islington
Copy link
Contributor

miss-islington commented Aug 26, 2022

Thanks @ezio-melotti for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒🤖

@miss-islington
Copy link
Contributor

miss-islington commented Aug 26, 2022

Sorry @ezio-melotti, I had trouble checking out the 3.10 backport branch.
Please backport using cherry_picker on command line.
cherry_picker c3d591fd0699605c8253beda2372114052a7bdba 3.10

miss-islington added a commit that referenced this pull request Aug 26, 2022
* gh-95994: clarify escaped newlines.

* Rephrase ambiguous sentence.

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>

* Use `<newline>` in escape sequences table.

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit c3d591f)

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
@bedevere-bot
Copy link

bedevere-bot commented Aug 28, 2022

GH-96360 is a backport of this pull request to the 3.10 branch.

ezio-melotti added a commit to ezio-melotti/cpython that referenced this pull request Aug 28, 2022
* pythongh-95994: clarify escaped newlines.

* Rephrase ambiguous sentence.

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>

* Use `<newline>` in escape sequences table.

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>.
(cherry picked from commit c3d591f)

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
ezio-melotti added a commit that referenced this pull request Aug 28, 2022
* gh-95994: clarify escaped newlines.

* Rephrase ambiguous sentence.

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>

* Use `<newline>` in escape sequences table.

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>.
(cherry picked from commit c3d591f)

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants