Skip to content

Conversation

@MannXo
Copy link

@MannXo MannXo commented Oct 17, 2025

Summary


This adds a .. versionchanged:: 3.13 note to ast.rst documenting that AST node constructors now provide sensible defaults for omitted fields in Python 3.13: optional fields default to None, list fields default to an empty list, and fields of type :class:ast.expr_context default to :class:Load() <ast.Load>

Issue


#140196


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

@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news labels Oct 17, 2025
@python-cla-bot
Copy link

python-cla-bot bot commented Oct 17, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

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