Docs: Fix incomplete sentence in tp_itemsize documentation (GH-152381)

This commit is contained in:
da-woods 2026-06-27 14:45:04 +01:00 committed by GitHub
parent 109c59e25f
commit 0a21a248cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,