From d79fb8d21675ed790780f727b99879acbe198e2e Mon Sep 17 00:00:00 2001 From: da-woods Date: Sat, 27 Jun 2026 11:06:03 +0100 Subject: [PATCH] Fix incomplete sentence in `tp_itemsize` documentation --- Doc/c-api/type.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/type.rst b/Doc/c-api/type.rst index 48eb16bd90834ba..6b68c0d085589a1 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,