From: da-woods Date: Sat, 27 Jun 2026 13:45:04 +0000 (+0100) Subject: Docs: Fix incomplete sentence in `tp_itemsize` documentation (GH-152381) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a21a248cc97eba3d75c7bd07c849ec645aea87b;p=thirdparty%2FPython%2Fcpython.git Docs: Fix incomplete sentence in `tp_itemsize` documentation (GH-152381) --- diff --git a/Doc/c-api/type.rst b/Doc/c-api/type.rst index 48eb16bd9083..6b68c0d08558 100644 --- a/Doc/c-api/type.rst +++ b/Doc/c-api/type.rst @@ -639,7 +639,7 @@ but need extra remarks for use as slots: 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,