Skip to content

Commit 45da743

Browse files
[3.8] bpo-33416: Document changes in PyNode_AddChild and PyParser_AddToken (GH-14214) (GH-14215)
I didn't find any entries in the docs about these functions, so I just mentioned them, in "What's New". (cherry picked from commit 47c2de7) Co-authored-by: Ivan Levkivskyi <[email protected]> https://bugs.python.org/issue33416
1 parent b626b11 commit 45da743

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/whatsnew/3.8.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,6 +1454,8 @@ Changes in the C API
14541454
* The :c:func:`PyCode_New` has a new parameter in the second position (*posonlyargcount*)
14551455
to support :pep:`570`, indicating the number of positional-only arguments.
14561456

1457+
* The functions :c:func:`PyNode_AddChild` and :c:func:`PyParser_AddToken` now accept
1458+
two additional ``int`` arguments *end_lineno* and *end_col_offset*.
14571459

14581460
CPython bytecode changes
14591461
------------------------

0 commit comments

Comments
 (0)