summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.8.rst
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-04-29 08:26:34 (GMT)
committerGitHub <noreply@github.com>2021-04-29 08:26:34 (GMT)
commit5bd0619533ed6587ce76402e9b0b118eb4d4dd09 (patch)
tree4ee68209ce2cfd090a4f183d67a3e2b97bc89258 /Doc/whatsnew/3.8.rst
parentc6ad03fddf4b04c60dca4327140e59fb2dcca8e5 (diff)
downloadcpython-5bd0619533ed6587ce76402e9b0b118eb4d4dd09.zip
cpython-5bd0619533ed6587ce76402e9b0b118eb4d4dd09.tar.gz
cpython-5bd0619533ed6587ce76402e9b0b118eb4d4dd09.tar.bz2
bpo-43908: Document Static Types in the C API (GH-25710)
Update also PyTypeObject structure definition in the doc.
Diffstat (limited to 'Doc/whatsnew/3.8.rst')
-rw-r--r--Doc/whatsnew/3.8.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index b1ecaae..c958bf4 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -352,7 +352,8 @@ PEP 590: Vectorcall: a fast calling protocol for CPython
:ref:`vectorcall` is added to the Python/C API.
It is meant to formalize existing optimizations which were already done
for various classes.
-Any static type implementing a callable can use this protocol.
+Any :ref:`static type <static-types>` implementing a callable can use this
+protocol.
This is currently provisional.
The aim is to make it fully public in Python 3.9.
@@ -2040,7 +2041,7 @@ Changes in the C API
This makes types created through :c:func:`PyType_FromSpec` behave like
other classes in managed code.
- Statically allocated types are not affected.
+ :ref:`Statically allocated types <static-types>` are not affected.
For the vast majority of cases, there should be no side effect.
However, types that manually increase the reference count after allocating