File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
Misc/NEWS.d/next/Core_and_Builtins Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ The abstract grammar is currently defined as follows:
3838 :language: asdl
3939
4040
41+ .. _ast_nodes :
42+
4143Node classes
4244------------
4345
Original file line number Diff line number Diff line change @@ -673,10 +673,10 @@ Removed
673673ast
674674---
675675
676- * The constructors of AST node types in the :mod: ` ast ` module now raise a
677- :exc: ` TypeError ` when a required argument is omitted or when a
678- keyword argument that does not map to a field on the AST node is passed.
679- These cases had previously raised a :exc: `DeprecationWarning ` since Python 3.13.
676+ * The constructors of :ref: ` AST nodes < ast_nodes >` now raise a :exc: ` TypeError `
677+ when a required argument is omitted or when a keyword argument that does not
678+ map to a field on the AST node is passed. These cases had previously raised a
679+ :exc: `DeprecationWarning ` since Python 3.13.
680680 (Contributed by Brian Schubert and Jelle Zijlstra in :gh: `137600 ` and :gh: `105858 `.)
681681
682682
Original file line number Diff line number Diff line change 1- The constructors of node types in the :mod: `ast ` module now raise a
2- :exc: `TypeError ` when a required argument is omitted or when a
3- keyword argument that does not map to a field on the AST node is passed.
4- These cases had previously raised a :exc: `DeprecationWarning ` since Python
5- 3.13. Patch by Brian Schubert.
1+ :mod: `ast `: The constructors of AST nodes now raise a :exc: `TypeError ` when
2+ a required argument is omitted or when a keyword argument that does not map to
3+ a field on the AST node is passed. These cases had previously raised a
4+ :exc: `DeprecationWarning ` since Python 3.13. Patch by Brian Schubert.
You can’t perform that action at this time.
0 commit comments