Skip to content

Commit

Permalink
Document changes in PyNode_AddChild and PyParser_AddToken (GH-14214)
Browse files Browse the repository at this point in the history
I didn't find any entries in the docs about these functions, so I just mentioned them, in "What's New".
  • Loading branch information
ilevkivskyi authored Jun 19, 2019
1 parent 01b63ec commit 47c2de7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Doc/whatsnew/3.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
------------------------
Expand Down

0 comments on commit 47c2de7

Please sign in to comment.