bpo-37221: PyCode_New() didn't change in Python 3.8 (GH-23595)

(cherry picked from commit 1867b462de)

Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
Miss Islington (bot) 2020-12-01 07:54:54 -08:00 committed by GitHub
parent 0955f6863d
commit ed4614386f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2113,9 +2113,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*.