Skip to content
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