mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
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".
This commit is contained in:
parent
01b63ecac6
commit
47c2de7725
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue