mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03: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
|
||||
|
|
|
|||
|
|
@ -889,7 +889,7 @@ minor version. I.e. ``/usr/bin/python3.7-32`` will request usage of the
|
|||
|
||||
The "-64" suffix is deprecated, and now implies "any architecture that is
|
||||
not provably i386/32-bit". To request a specific environment, use the new
|
||||
``-V:<TAG>`` argument with the complete tag.
|
||||
:samp:`-V:{TAG}` argument with the complete tag.
|
||||
|
||||
The ``/usr/bin/env`` form of shebang line has one further special property.
|
||||
Before looking for installed Python interpreters, this form will search the
|
||||
|
|
@ -1192,7 +1192,7 @@ non-standard paths in the registry and user site-packages.
|
|||
|
||||
* Adds ``._pth`` file support and removes ``applocal`` option from
|
||||
``pyvenv.cfg``.
|
||||
* Adds ``pythonXX.zip`` as a potential landmark when directly adjacent
|
||||
* Adds :file:`python{XX}.zip` as a potential landmark when directly adjacent
|
||||
to the executable.
|
||||
|
||||
.. deprecated::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue