Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b4d31e6

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

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎Doc/library/ast.rst

Copy file name to clipboardExpand all lines: Doc/library/ast.rst
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.