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.

@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

read-the-docs-community Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Signed-off-by: jx2lee <dev.jaejun.lee.1991@gmail.com>
@jx2lee
jx2lee force-pushed the jx2lee/gh-151950/ref-ast branch from 0d32f28 to 5003b17 Compare September 27, 2026 05:53
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