diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index cc3fb76e9c55fc..e4218cacc2b5b9 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -1457,6 +1457,8 @@ Changes in the C API * The :c:func:`PyCode_New` has a new parameter in the second position (*posonlyargcount*) to support :pep:`570`, indicating the number of positional-only arguments. +* The functions :c:func:`PyNode_AddChild` and :c:func:`PyParser_AddToken` now accept + two additional ``int`` arguments *end_lineno* and *end_col_offset*. CPython bytecode changes ------------------------