8000 gh-107298: Document doesn't link to PyAPI_DATA() by vstinner · Pull Request #109236 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-107298: Document doesn't link to PyAPI_DATA() #109236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 14, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use :samp:
  • Loading branch information
vstinner committed Sep 14, 2023
commit cc5da845c1ee3369077d64d378ba13e2ab40c173
2 changes: 1 addition & 1 deletion Doc/c-api/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ complete listing.
declarations required by the platform, and for C++ declares the function as
``extern "C"``.

The initialization function must be named :c:func:`!PyInit_name`, where
The initialization function must be named :samp:`PyInit_{name}`, where
*name* is the name of the module, and should be the only non-\ ``static``
item defined in the module file. Example::

Expand Down
0