From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 1 Dec 2020 15:34:01 +0000 (-0800) Subject: bpo-37221: PyCode_New() didn't change in Python 3.8 (GH-23595) X-Git-Tag: v3.8.7rc1~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d9d63f13cf5b6b896c245099c42b08f6da083d05;p=thirdparty%2FPython%2Fcpython.git bpo-37221: PyCode_New() didn't change in Python 3.8 (GH-23595) (cherry picked from commit 1867b462de427bcb8dfbcd256028410aea6ae929) Co-authored-by: Victor Stinner --- diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index ce386c0556cc..1a192800b2f0 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -2115,9 +2115,6 @@ Changes in the C API (Contributed by Antoine Pitrou in :issue:`32388`.) -* 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*.