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:
parent
74c40ddfd3
commit
d9d63f13cf
|
@ -2115,9 +2115,6 @@ Changes in the C API
|
||||||
|
|
||||||
(Contributed by Antoine Pitrou in :issue:`32388`.)
|
(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
|
* The functions :c:func:`PyNode_AddChild` and :c:func:`PyParser_AddToken` now accept
|
||||||
two additional ``int`` arguments *end_lineno* and *end_col_offset*.
|
two additional ``int`` arguments *end_lineno* and *end_col_offset*.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue