https://github.com/python/cpython/commit/400c7eca4a4c942f791fda4e8b0f1176a23e1b3a commit: 400c7eca4a4c942f791fda4e8b0f1176a23e1b3a branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: ZeroIntensity <[email protected]> date: 2026-06-27T13:52:57Z summary:
[3.15] Docs: Fix incomplete sentence in `tp_itemsize` documentation (GH-152381) (GH-152417) (cherry picked from commit 0a21a248cc97eba3d75c7bd07c849ec645aea87b) Co-authored-by: da-woods <[email protected]> files: M Doc/c-api/type.rst 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, _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
