summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/whatsnew/3.8.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 58b2321..2cfb110 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
--------------------