← 输入框|github.com|刷新
Skip to content

gh-142049: clarify quote escaping in the tutorial - #162798

Open
sirosen wants to merge 1 commit into
python:mainfrom
sirosen:docs/tutorial/clarify-escaped-quote
Open

sirosen wants to merge 1 commit into
python:mainfrom
sirosen:docs/tutorial/clarify-escaped-quote

Conversation

@sirosen

@sirosen sirosen commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Add two short phrases to indicate that the \ seen in this output is expected. No mention is made of __repr__ or other features which would be unfamiliar to beginners.


@zware, @terryjreedy, each of you had different suggestions for how to clarify this in the original issue.
I aimed for something simple and brief here -- rather than going into depth, I think it might be best to indicate that the output is as expected.

I'm happy to revise this further, but I do think it's important not to over-explain so early in the tutorial.

Add two short phrases to indicate that the `\` seen in this output is
expected. No mention is made of `__repr__` or other features which would
be unfamiliar to beginners.
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #36227209 | 📁 Comparing 8bd4286 against main (49a344e)

  🔍 Preview build  

1 file changed
± tutorial/introduction.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant