]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-107298: Document PyMODINIT_FUNC macro (#109236)
authorVictor Stinner <vstinner@python.org>
Thu, 14 Sep 2023 12:56:43 +0000 (14:56 +0200)
committerGitHub <noreply@github.com>
Thu, 14 Sep 2023 12:56:43 +0000 (14:56 +0200)
commitd7a27e527d7e669d2e45cff80ad725978226477c
treeff416243277a6d4fb5117bf53f350bf26f1468ab
parent1f885df2a580360c5de69cc41191f3c6bfaaeb35
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.
Doc/c-api/intro.rst
Doc/using/configure.rst
Doc/whatsnew/2.3.rst