From 5d23e282af69d404a3430bb95aefe371112817b3 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Sun, 12 May 2019 22:45:52 +0100 Subject: [PATCH] bpo-36886: Document changes in code object in What's new section (GH-13255) --- Doc/whatsnew/3.8.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index 58b23211cc6..2cfb110b3d5 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -977,6 +977,10 @@ Changes in the Python API replacement by a pure Python implementation. (Contributed by Pablo Galindo in :issue:`36623`.) +* :class:`types.CodeType` has a new parameter in the second position of the + constructor (*posonlyargcount*) to support positional-only arguments defined + in :pep:`570`. + Changes in the C API --------------------