8000 Update Doc/library/ast.rst · python/cpython@b4d31e6 · GitHub
[go: up one dir, main page]

Skip to content

Commit b4d31e6

Browse files
Update Doc/library/ast.rst
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
1 parent 0389883 commit b4d31e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/ast.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Node classes
121121
If a field that is optional in the grammar is omitted from the constructor,
122122
it defaults to ``None``. If a list field is omitted, it defaults to the empty
123123
list. If a field of type :class:`!ast.expr_context` is omitted, it defaults to
124-
:class:`Load() <ast.load>`. If any other field is omitted, a :exc:`DeprecationWarning` is raised
124+
:class:`Load() <ast.Load>`. If any other field is omitted, a :exc:`DeprecationWarning` is raised
125125
and the AST node will not have this field. In Python 3.15, this condition will
126126
raise an error.
127127

0 commit comments

Comments
 (0)
0