summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Levkivskyi <levkivskyi@gmail.com>2019-06-19 00:17:47 (GMT)
committerGitHub <noreply@github.com>2019-06-19 00:17:47 (GMT)
commit47c2de7725025341318860b9a2601ba7013d27a9 (patch)
tree247f0d0fa093fec3b7717b578e80ec5e23625f9f
parent01b63ecac66581f80ba953d9182751e591c2b2ba (diff)
downloadcpython-47c2de7725025341318860b9a2601ba7013d27a9.zip
cpython-47c2de7725025341318860b9a2601ba7013d27a9.tar.gz
cpython-47c2de7725025341318860b9a2601ba7013d27a9.tar.bz2
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".
-rw-r--r--Doc/whatsnew/3.8.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index cc3fb76..e4218ca 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
------------------------