Skip to content

gh-151950: Fix unresolved AST references in ast.rst - #158156

Open
jx2lee wants to merge 1 commit into
python:mainfrom
jx2lee:jx2lee/gh-151950/ref-ast
Open

jx2lee wants to merge 1 commit into
python:mainfrom
jx2lee:jx2lee/gh-151950/ref-ast

Conversation

@jx2lee

@jx2lee jx2lee commented Sep 25, 2026 •

Copy link
Copy Markdown

This updates AST references in Doc/library/ast.rst that do not have Sphinx documentation targets. Prefixing the roles with ! preserves their semantic formatting while suppressing link generation. The constructor description now refers to AST node classes generally instead of the nonexistent ast.T.

The location-attributes paragraph is unchanged because it overlaps with PR #158039.

Testing:

  • make -C Doc html SPHINXOPTS="-n" SOURCES=library/ast.rst still reports the two ast.expr and ast.stmt warnings in the unchanged paragraph.

Signed-off-by: jx2lee <dev.jaejun.lee.1991@gmail.com>
@python-cla-bot

python-cla-bot Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34755247 | 📁 Comparing 0d32f28 against main (b954645)

  🔍 Preview build  

1 file changed
± library/ast.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