Skip to content

Commit b668863

Browse files
committed
Docs: Fix incomplete sentence in tp_itemsize documentation (GH-152381)
(cherry picked from commit 0a21a24)
1 parent a3aa50a commit b668863

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
@@ -494,7 +494,7 @@ The following functions and structs are used to create
494494
in the following situations:
495495
496496
- The base is not variable-sized (its
497-
:c:member:`~PyTypeObject.tp_itemsize`).
497+
:c:member:`~PyTypeObject.tp_itemsize` is zero).
498498
- The requested :c:member:`PyType_Spec.basicsize` is positive,
499499
suggesting that the memory layout of the base class is known.
500500
- The requested :c:member:`PyType_Spec.basicsize` is zero,

0 commit comments

Comments
 (0)