https://github.com/python/cpython/commit/b14ea66029d3b6d079c0168b92b5d4d183d9db78
commit: b14ea66029d3b6d079c0168b92b5d4d183d9db78
branch: 3.14
author: da-woods <[email protected]>
committer: encukou <[email protected]>
date: 2026-07-01T13:52:24+02:00
summary:
[3.14] Docs: Fix incomplete sentence in `tp_itemsize` documentation (GH-152381)
(GH-152424)
(cherry picked from commit 0a21a248cc97eba3d75c7bd07c849ec645aea87b)
files:
M Doc/c-api/type.rst
diff --git a/Doc/c-api/type.rst b/Doc/c-api/type.rst
index 7fe810f585fa35..1eb2f1f3dd07da 100644
--- a/Doc/c-api/type.rst
+++ b/Doc/c-api/type.rst
@@ -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,
_______________________________________________
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]