FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.15] Docs: Fix incomplete sentence in `tp_itemsize` documentation (… · python/cpython@400c7ec · GitHub

Repository navigation

Commit 400c7ec

Browse files
[3.15] Docs: Fix incomplete sentence in tp_itemsize documentation (GH-152381) (GH-152417)
(cherry picked from commit 0a21a24) Co-authored-by: da-woods <dw-git@d-woods.co.uk>
1 parent 01cab11 commit 400c7ec

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)

Back | FazBrowse Home | New Git URL