Skip to content

Commit f5b2582

Browse files
committed
Update docs
1 parent 606708a commit f5b2582

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Doc/library/ast.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,7 @@ Node classes
158158
Previous versions of Python allowed the creation of AST nodes that were missing
159159
required fields. Similarly, AST node constructors allowed arbitrary keyword
160160
arguments that were set as attributes of the AST node, even if they did not
161-
match any of the fields of the AST node. This behavior is deprecated and will
162-
be removed in Python 3.15.
161+
match any of the fields of the AST node. These cases now raise a :exc:`TypeError`.
163162

164163
.. note::
165164
The descriptions of the specific node classes displayed here

0 commit comments

Comments
 (0)