◐ Shell
reader mode source ↗
Skip to content

Allow breaking cross-reference of tokens in a productionlist#148845

Closed
StanFromIreland wants to merge 1 commit into
python:mainfrom
StanFromIreland:productionlist
Closed

Allow breaking cross-reference of tokens in a productionlist#148845
StanFromIreland wants to merge 1 commit into
python:mainfrom
StanFromIreland:productionlist

Conversation

@StanFromIreland

@StanFromIreland StanFromIreland commented Apr 21, 2026

Copy link
Copy Markdown
Member

Before:

image

After:

image

📚 Documentation preview 📚: https://cpython-previews--148845.org.readthedocs.build/

@encukou

encukou commented May 12, 2026

Copy link
Copy Markdown
Member

I'll find the relevant rules to link instead, when I'm at a desk.
(The rule names are different between the docs & the grammar; I'm slowly syncing them but in the mean time it's a bit confusing.)

If you do want to to suppress the linking, you can omit the backquotes entirely -- the literal node this PR adds doesn't have semantic meaning. Don't do that here though.

@encukou

encukou commented May 13, 2026

Copy link
Copy Markdown
Member

I sent #149811 for these.

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 issue skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants