From: da-woods Date: Wed, 1 Jul 2026 11:52:33 +0000 (+0100) Subject: [3.13] Docs: Fix incomplete sentence in `tp_itemsize` documentation (GH-152381) ... X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb7fb4de60286c0087ea84f02b519443969dbc92;p=thirdparty%2FPython%2Fcpython.git [3.13] Docs: Fix incomplete sentence in `tp_itemsize` documentation (GH-152381) (GH-152423) (cherry picked from commit 0a21a248cc97eba3d75c7bd07c849ec645aea87b) --- diff --git a/Doc/c-api/type.rst b/Doc/c-api/type.rst index 1d94718b2d23..065625a4fe51 100644 --- a/Doc/c-api/type.rst +++ b/Doc/c-api/type.rst @@ -494,7 +494,7 @@ The following functions and structs are used to create in the following situations: - The base is not variable-sized (its - :c:member:`~PyTypeObject.tp_itemsize`). + :c:member:`~PyTypeObject.tp_itemsize` is zero). - The requested :c:member:`PyType_Spec.basicsize` is positive, suggesting that the memory layout of the base class is known. - The requested :c:member:`PyType_Spec.basicsize` is zero,