]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-107298: Document PyMODINIT_FUNC macro (GH-109236) (#109947)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 27 Sep 2023 15:38:28 +0000 (08:38 -0700)
committerGitHub <noreply@github.com>
Wed, 27 Sep 2023 15:38:28 +0000 (17:38 +0200)
commitfc4fddb139d61c7c39e19e8e8164978af1b1a3fd
tree10a2b60c38f51586ed570b119f8a6a83b82a5584
parent1d6ef7e609ed0222b6e96c660c9f6881cbfa3133
[3.12] gh-107298: Document PyMODINIT_FUNC macro (GH-109236) (#109947)

gh-107298: Document PyMODINIT_FUNC macro (GH-109236)

Document PyMODINIT_FUNC macro.

Remove links to PyAPI_FUNC() and PyAPI_DATA() macros since they are
not documented. These macros should only be used to define the Python
C API. They should not be used outside Python code base.
(cherry picked from commit d7a27e527d7e669d2e45cff80ad725978226477c)

Co-authored-by: Victor Stinner <vstinner@python.org>
Doc/c-api/intro.rst
Doc/using/configure.rst
Doc/whatsnew/2.3.rst