bpo-36886: Document changes in code object in What's new section (GH-13255)
authorPablo Galindo <Pablogsal@gmail.com>
Sun, 12 May 2019 21:45:52 +0000 (22:45 +0100)
committerGitHub <noreply@github.com>
Sun, 12 May 2019 21:45:52 +0000 (22:45 +0100)
Doc/whatsnew/3.8.rst

index 58b23211cc67aad65185efb9f0660daa9109ba08..2cfb110b3d50ee88f5846e53a6fcf2103fe47f4e 100644 (file)
@@ -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
 --------------------