Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit12b9cb8

Browse files
[3.12]gh-101100: Fix sphinx warnings inusage/cmdline.rst (GH-110841) (#110855)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
1 parent0164832 commit12b9cb8

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

‎Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ Doc/reference/import.rst
162162
Doc/reference/simple_stmts.rst
163163
Doc/tutorial/datastructures.rst
164164
Doc/tutorial/introduction.rst
165-
Doc/using/cmdline.rst
166165
Doc/using/windows.rst
167166
Doc/whatsnew/2.0.rst
168167
Doc/whatsnew/2.1.rst

‎Doc/using/cmdline.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ source.
103103

104104
:option:`-I` option can be used to run the script in isolated mode where
105105
:data:`sys.path` contains neither the current directory nor the user's
106-
site-packages directory. All:envvar:`PYTHON*` environment variables are
106+
site-packages directory. All``PYTHON*`` environment variables are
107107
ignored, too.
108108

109109
Many standard library modules contain code that is invoked on their execution
@@ -161,7 +161,7 @@ source.
161161

162162
:option:`-I` option can be used to run the script in isolated mode where
163163
:data:`sys.path` contains neither the script's directory nor the user's
164-
site-packages directory. All:envvar:`PYTHON*` environment variables are
164+
site-packages directory. All``PYTHON*`` environment variables are
165165
ignored, too.
166166

167167
..audit-event::cpython.run_file filename
@@ -280,7 +280,7 @@ Miscellaneous options
280280

281281
..option::-E
282282

283-
Ignore all:envvar:`PYTHON*` environment variables, e.g.
283+
Ignore all``PYTHON*`` environment variables, e.g.
284284
:envvar:`PYTHONPATH` and:envvar:`PYTHONHOME`, that might be set.
285285

286286
See also the:option:`-P` and:option:`-I` (isolated) options.
@@ -303,7 +303,7 @@ Miscellaneous options
303303
and:option:`-s` options.
304304

305305
In isolated mode:data:`sys.path` contains neither the script's directory nor
306-
the user's site-packages directory. All:envvar:`PYTHON*` environment
306+
the user's site-packages directory. All``PYTHON*`` environment
307307
variables are ignored, too. Further restrictions may be imposed to prevent
308308
the user from injecting malicious code.
309309

@@ -362,7 +362,7 @@ Miscellaneous options
362362
randomization is enabled by default.
363363

364364
On previous versions of Python, this option turns on hash randomization,
365-
so that the:meth:`__hash__` values of str and bytes objects
365+
so that the:meth:`~object.__hash__` values of str and bytes objects
366366
are "salted" with an unpredictable random value. Although they remain
367367
constant within an individual Python process, they are not predictable
368368
between repeated invocations of Python.
@@ -851,9 +851,10 @@ conflict.
851851

852852
If this environment variable is set to a non-empty string,
853853
:func:`faulthandler.enable` is called at startup: install a handler for
854-
:const:`SIGSEGV`,:const:`SIGFPE`,:const:`SIGABRT`,:const:`SIGBUS` and
855-
:const:`SIGILL` signals to dump the Python traceback. This is equivalent to
856-
:option:`-X` ``faulthandler`` option.
854+
:const:`~signal.SIGSEGV`,:const:`~signal.SIGFPE`,
855+
:const:`~signal.SIGABRT`,:const:`~signal.SIGBUS` and
856+
:const:`~signal.SIGILL` signals to dump the Python traceback.
857+
This is equivalent to:option:`-X` ``faulthandler`` option.
857858

858859
..versionadded::3.3
859860

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp