]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Docs: Fix incomplete sentence in `tp_itemsize` documentation (GH-152381) ...
authorda-woods <dw-git@d-woods.co.uk>
Wed, 1 Jul 2026 11:52:24 +0000 (12:52 +0100)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2026 11:52:24 +0000 (13:52 +0200)
(cherry picked from commit 0a21a248cc97eba3d75c7bd07c849ec645aea87b)

Doc/c-api/type.rst

index 7fe810f585fa35e95234185f9632b1afeeec92cb..1eb2f1f3dd07da144406f22a9305e2287e88c6d5 100644 (file)
@@ -551,7 +551,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,