mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-109634: Use :samp: role (GH-109635)
This commit is contained in:
parent
5e7ea95d9d
commit
92af0cc580
30 changed files with 99 additions and 95 deletions
|
@ -1012,7 +1012,7 @@ differently depending if the ``Py_BUILD_CORE_MODULE`` macro is defined:
|
|||
* Use ``Py_IMPORTED_SYMBOL`` otherwise.
|
||||
|
||||
If the ``Py_BUILD_CORE_BUILTIN`` macro is used by mistake on a C extension
|
||||
built as a shared library, its ``PyInit_xxx()`` function is not exported,
|
||||
built as a shared library, its :samp:`PyInit_{xxx}()` function is not exported,
|
||||
causing an :exc:`ImportError` on import.
|
||||
|
||||
|
||||
|
@ -1033,8 +1033,8 @@ Preprocessor flags
|
|||
|
||||
.. envvar:: CPPFLAGS
|
||||
|
||||
(Objective) C/C++ preprocessor flags, e.g. ``-I<include dir>`` if you have
|
||||
headers in a nonstandard directory ``<include dir>``.
|
||||
(Objective) C/C++ preprocessor flags, e.g. :samp:`-I{include_dir}` if you have
|
||||
headers in a nonstandard directory *include_dir*.
|
||||
|
||||
Both :envvar:`CPPFLAGS` and :envvar:`LDFLAGS` need to contain the shell's
|
||||
value to be able to build extension modules using the
|
||||
|
@ -1223,8 +1223,8 @@ Linker flags
|
|||
|
||||
.. envvar:: LDFLAGS
|
||||
|
||||
Linker flags, e.g. ``-L<lib dir>`` if you have libraries in a nonstandard
|
||||
directory ``<lib dir>``.
|
||||
Linker flags, e.g. :samp:`-L{lib_dir}` if you have libraries in a nonstandard
|
||||
directory *lib_dir*.
|
||||
|
||||
Both :envvar:`CPPFLAGS` and :envvar:`LDFLAGS` need to contain the shell's
|
||||
value to be able to build extension modules using the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue