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
Copy link
Copy Markdown
Member

@StanFromIreland StanFromIreland commented Apr 21, 2026

Before:

image

After:

image

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

@encukou
Copy link
Copy Markdown
Member

encukou commented May 12, 2026

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
Copy link
Copy Markdown
Member

encukou commented May 13, 2026

I sent #149811 for these.

@encukou encukou closed this May 13, 2026
@StanFromIreland StanFromIreland deleted the productionlist branch May 14, 2026 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants