Skip to content

Commit 423f500

Browse files
da-woodsmiss-islington
authored andcommitted
Docs: Fix incomplete sentence in tp_itemsize documentation (GH-152381)
(cherry picked from commit 0a21a24) Co-authored-by: da-woods <dw-git@d-woods.co.uk>
1 parent 01cab11 commit 423f500

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/c-api/type.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ but need extra remarks for use as slots:
639639
in the following situations:
640640
641641
- The base is not variable-sized (its
642-
:c:member:`~PyTypeObject.tp_itemsize`).
642+
:c:member:`~PyTypeObject.tp_itemsize` is zero).
643643
- The requested :c:member:`PyType_Spec.basicsize` is positive,
644644
suggesting that the memory layout of the base class is known.
645645
- The requested :c:member:`PyType_Spec.basicsize` is zero,

0 commit comments

Comments
 (0)