]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-135913: Document ob_refcnt, ob_type, ob_size (GH-135914) (GH-136377)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 8 Jul 2025 06:03:03 +0000 (08:03 +0200)
committerGitHub <noreply@github.com>
Tue, 8 Jul 2025 06:03:03 +0000 (08:03 +0200)
commit78e5d109f54351bb2360a32e1cdcdd6a09b08791
treecc4a1c1ed96d8d5424a7675182f4cb391560f25e
parente1e9d9535239537dcd4e161654fb324751a89ab4
[3.14] gh-135913: Document ob_refcnt, ob_type, ob_size (GH-135914) (GH-136377)

gh-135913: Document ob_refcnt, ob_type, ob_size (GH-135914)

* gh-135913: Document ob_refcnt, ob_type, ob_size

In `typeobj.rst`, instead of `:c:member:` it would be better to
use `.. c:member::` with a `:no-index:` option, see:

See ref. https://www.sphinx-doc.org/en/master/usage/domains/index.html#basic-markup

However, `c:member` currently does not support `:no-index:`.
(cherry picked from commit 73e1207a4ebdb3b43d597cd6c288dae6d7d1dbdb)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Doc/c-api/structures.rst
Doc/c-api/typeobj.rst