Skip to content

Commit

Permalink
Update Doc/library/ast.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Waygood <[email protected]>
  • Loading branch information
JelleZijlstra and AlexWaygood authored May 9, 2024
1 parent 0389883 commit b4d31e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/ast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Node classes
If a field that is optional in the grammar is omitted from the constructor,
it defaults to ``None``. If a list field is omitted, it defaults to the empty
list. If a field of type :class:`!ast.expr_context` is omitted, it defaults to
:class:`Load() <ast.load>`. If any other field is omitted, a :exc:`DeprecationWarning` is raised
:class:`Load() <ast.Load>`. If any other field is omitted, a :exc:`DeprecationWarning` is raised
and the AST node will not have this field. In Python 3.15, this condition will
raise an error.

Expand Down

0 comments on commit b4d31e6

Please sign in to comment.