Skip to content

Commit d79fb8d

Browse files
authored
Fix incomplete sentence in tp_itemsize documentation
1 parent 93454fe commit d79fb8d

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)