summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-06-19 00:33:34 (GMT)
committerGitHub <noreply@github.com>2019-06-19 00:33:34 (GMT)
commit45da7437f54b4a6bdb8b4ba5a0f13f44a24eec39 (patch)
tree822d7a1259807742234e6539960b91b9749b0402 /Doc/whatsnew
parentb626b113aee655e273b68eb1edb980f9729c0833 (diff)
downloadcpython-45da7437f54b4a6bdb8b4ba5a0f13f44a24eec39.zip
cpython-45da7437f54b4a6bdb8b4ba5a0f13f44a24eec39.tar.gz
cpython-45da7437f54b4a6bdb8b4ba5a0f13f44a24eec39.tar.bz2
[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 47c2de7725025341318860b9a2601ba7013d27a9) Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com> https://bugs.python.org/issue33416
Diffstat (limited to 'Doc/whatsnew')
-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 1312a74..d79bc03 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -1454,6 +1454,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
------------------------