]> granicus.if.org Git - python/commitdiff
Document changes in PyNode_AddChild and PyParser_AddToken (GH-14214)
authorIvan Levkivskyi <levkivskyi@gmail.com>
Wed, 19 Jun 2019 00:17:47 +0000 (01:17 +0100)
committerGitHub <noreply@github.com>
Wed, 19 Jun 2019 00:17:47 +0000 (01:17 +0100)
I didn't find any entries in the docs about these functions, so I just mentioned them, in "What's New".

Doc/whatsnew/3.8.rst

index cc3fb76e9c55fc4fa45f850656303b171901327b..e4218cacc2b5b9cc82694f98ae5e9d7175e015a3 100644 (file)
@@ -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
 ------------------------