From: Pablo Galindo Date: Sun, 12 May 2019 21:45:52 +0000 (+0100) Subject: bpo-36886: Document changes in code object in What's new section (GH-13255) X-Git-Tag: v3.8.0b1~401 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5d23e282af69d404a3430bb95aefe371112817b3;p=thirdparty%2FPython%2Fcpython.git bpo-36886: Document changes in code object in What's new section (GH-13255) --- diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index 58b23211cc67..2cfb110b3d50 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 --------------------