Skip to content

Commit 5d38036

Browse files
committed
Add What's new entry
1 parent d259315 commit 5d38036

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/whatsnew/3.8.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,6 +1042,11 @@ Build and C API Changes
10421042
allocation or deallocation may need to be adjusted.
10431043
(Contributed by Eddie Elizondo in :issue:`35810`.)
10441044

1045+
* The new function :c:func:`PyCode_NewWithPosOnlyArgs` allows to create
1046+
code objects like :c:func:`PyCode_New`, but with an extra *posonlyargcount*
1047+
parameter for indicating the number of positional-only arguments.
1048+
(Contributed by Pablo Galindo in :issue:`37221`.)
1049+
10451050

10461051
Deprecated
10471052
==========

0 commit comments

Comments
 (0)