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

@ezio-melotti ezio-melotti self-assigned this Aug 18, 2022
@bedevere-bot bedevere-bot added docs Documentation in the Doc dir awaiting core review labels Aug 18, 2022
Copy link
Member

@CAM-Gerlach CAM-Gerlach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 August 21, 2022 18:18
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
@miss-islington
Copy link
Contributor

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 August 26, 2022 19:05
@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Aug 26, 2022
@bedevere-bot
Copy link

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

@miss-islington
Copy link
Contributor

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>
@ezio-melotti ezio-melotti added needs backport to 3.10 only security fixes and removed needs backport to 3.10 only security fixes labels Aug 26, 2022
@miss-islington
Copy link
Contributor

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

@miss-islington
Copy link
Contributor

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 bedevere-bot removed the needs backport to 3.10 only security fixes label Aug 28, 2022
@bedevere-bot
Copy link

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.

4 participants