[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 47c2de7725)


Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>


https://bugs.python.org/issue33416
This commit is contained in:
Miss Islington (bot) 2019-06-18 17:33:34 -07:00 committed by GitHub
parent b626b113ae
commit 45da7437f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1454,6 +1454,8 @@ Changes in the C API
* The :c:func:`PyCode_New` has a new parameter in the second position (*posonlyargcount*) * 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. 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 CPython bytecode changes
------------------------ ------------------------