Skip to content

Commit 47c2de7

Browse files
authored
Document changes in PyNode_AddChild and PyParser_AddToken (GH-14214)
I didn't find any entries in the docs about these functions, so I just mentioned them, in "What's New".
1 parent 01b63ec commit 47c2de7

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
@@ -1457,6 +1457,8 @@ Changes in the C API
14571457
* The :c:func:`PyCode_New` has a new parameter in the second position (*posonlyargcount*)
14581458
to support :pep:`570`, indicating the number of positional-only arguments.
14591459

1460+
* The functions :c:func:`PyNode_AddChild` and :c:func:`PyParser_AddToken` now accept
1461+
two additional ``int`` arguments *end_lineno* and *end_col_offset*.
14601462

14611463
CPython bytecode changes
14621464
------------------------

0 commit comments

Comments
 (0)