Skip to content

Commit 0a21a24

Browse files
authored
Docs: Fix incomplete sentence in tp_itemsize documentation (GH-152381)
1 parent 109c59e commit 0a21a24

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)