Skip to content

[3.11] gh-107298: Document PyMODINIT_FUNC macro (#109236) - #109948

Merged
vstinner merged 1 commit into
python:3.11from
vstinner:doc_pyapi_func_no_link311
Sep 27, 2023
Merged

[3.11] gh-107298: Document PyMODINIT_FUNC macro (#109236)#109948
vstinner merged 1 commit into
python:3.11from
vstinner:doc_pyapi_func_no_link311

Conversation

@vstinner

@vstinnervstinner commented Sep 27, 2023

Copy link
Copy Markdown
Member

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 d7a27e5)


📚 Documentation preview 📚: https://cpython-previews--109948.org.readthedocs.build/

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 d7a27e5)
@bedevere-appbedevere-appBot added awaiting review docs Documentation in the Doc dir skip news labels Sep 27, 2023
@vstinner
vstinner merged commit d951aae into python:3.11Sep 27, 2023
@vstinner
vstinner deleted the doc_pyapi_func_no_link311 branch September 27, 2023 08:40
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@vstinner