]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-149716: Document PySlot_DATA for Py_mod_gil and Py_mod_multiple_interpreters ...
authorTaeknology <20297177+Taeknology@users.noreply.github.com>
Wed, 10 Jun 2026 10:10:15 +0000 (19:10 +0900)
committerGitHub <noreply@github.com>
Wed, 10 Jun 2026 10:10:15 +0000 (12:10 +0200)
commit11c93d6df3c8cc6b533da3e85bded37102497ef5
tree2c2bace1b7c04e52e2dbbb3dfaf3f165b43944cc
parent7a014f44c393fda6d1c4bd135608ebcfc21d626c
gh-149716: Document PySlot_DATA for Py_mod_gil and Py_mod_multiple_interpreters (GH-150053)

Add short code examples mirroring the existing Py_mod_abi example,
so it is clear which slot definition macro (PySlot_DATA, PySlot_INT64,
or PySlot_UINT64) to use for these two slots.
Doc/c-api/module.rst