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

Tutorial - Broken Sentence #119995

Open
bogdan-barbu opened this issue Jun 3, 2024 · 3 comments · May be fixed by #120332
Open

Tutorial - Broken Sentence #119995

bogdan-barbu opened this issue Jun 3, 2024 · 3 comments · May be fixed by #120332
Labels
docs Documentation in the Doc dir

Comments

@bogdan-barbu
Copy link

bogdan-barbu commented Jun 3, 2024

Documentation

The second sentence of the first paragraph of section 3.1.2 reads:

This includes characters “!”, words “rabbit”, names “Paris”, sentences “Got your back.”, etc. “Yay! :)”.

The etc. should come after the last string.

Linked PRs

@bogdan-barbu bogdan-barbu added the docs Documentation in the Doc dir label Jun 3, 2024
@zware
Copy link
Member

zware commented Jun 3, 2024

I think this is actually missing some parentheses, i.e.

This includes characters ("``!``"), words ("``rabbit``"), names ("``Paris``"),
sentences ("``Got your back.``"), etc. ("``Yay! :)``").

Either way, it could use a fix; please feel free to submit a pull request.

Ref. PR GH-107104 which added this as part of gh-107017

@terryjreedy
Copy link
Member

Specific link: https://docs.python.org/3/tutoral/introduction.html#text. The parentheses are definitely needed. With those added, the fix depends on whether the new example is meant to be a second example of a sentence or an example of an 'etc' string. Either way OK with me.

@SweetyAngel
Copy link
Contributor

SweetyAngel commented Jun 4, 2024

@davidlowryduda davidlowryduda linked a pull request Jun 10, 2024 that will close this issue
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants