]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-107298: Document PyMODINIT_FUNC macro (#109236) (#109948)
authorVictor Stinner <vstinner@python.org>
Wed, 27 Sep 2023 08:40:24 +0000 (10:40 +0200)
committerGitHub <noreply@github.com>
Wed, 27 Sep 2023 08:40:24 +0000 (10:40 +0200)
commitd951aaea9762d86b560aaeb335e6ffac68238868
tree07d874d620b3aeb5a7aa8de82b9d836d82b674ae
parent0a69de768724639b5f91fcd1434acda7baaf6afd
[3.11] gh-107298: Document PyMODINIT_FUNC macro (#109236) (#109948)

gh-107298: Document PyMODINIT_FUNC macro (#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)
Doc/c-api/intro.rst
Doc/using/configure.rst
Doc/whatsnew/2.3.rst