summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2019-05-12 21:45:52 (GMT)
committerGitHub <noreply@github.com>2019-05-12 21:45:52 (GMT)
commit5d23e282af69d404a3430bb95aefe371112817b3 (patch)
tree77a26962d7c53be3201c9b48c7460c71e4313104
parent4959c33d2555b89b494c678d99be81a65ee864b0 (diff)
downloadcpython-5d23e282af69d404a3430bb95aefe371112817b3.zip
cpython-5d23e282af69d404a3430bb95aefe371112817b3.tar.gz
cpython-5d23e282af69d404a3430bb95aefe371112817b3.tar.bz2
bpo-36886: Document changes in code object in What's new section (GH-13255)
-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
--------------------