Skip to content

Commit 5d23e28

Browse files
authored
bpo-36886: Document changes in code object in What's new section (GH-13255)
1 parent 4959c33 commit 5d23e28

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/whatsnew/3.8.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,10 @@ Changes in the Python API
977977
replacement by a pure Python implementation. (Contributed by Pablo Galindo
978978
in :issue:`36623`.)
979979

980+
* :class:`types.CodeType` has a new parameter in the second position of the
981+
constructor (*posonlyargcount*) to support positional-only arguments defined
982+
in :pep:`570`.
983+
980984

981985
Changes in the C API
982986
--------------------

0 commit comments

Comments
 (0)