From 9b5307f75f6f0fec9a3c704e0aad6012b08dc78c Mon Sep 17 00:00:00 2001 From: Ivan Levkivskyi Date: Wed, 19 Jun 2019 01:06:19 +0100 Subject: [PATCH] Document changes in PyNode_AddChild and PyParser_AddToken --- Doc/whatsnew/3.8.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index cc3fb76e9c55fc4..e4218cacc2b5b9c 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 ------------------------