mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
[3.13] gh-89905: Correct -R option doc (GH-137608) (#138354)
gh-89905: Correct `-R` option doc (GH-137608)
(cherry picked from commit b3ff3165d2)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
This commit is contained in:
parent
76aa2abdef
commit
406a81fc32
1 changed files with 2 additions and 2 deletions
|
|
@ -366,8 +366,8 @@ Miscellaneous options
|
|||
.. option:: -R
|
||||
|
||||
Turn on hash randomization. This option only has an effect if the
|
||||
:envvar:`PYTHONHASHSEED` environment variable is set to ``0``, since hash
|
||||
randomization is enabled by default.
|
||||
:envvar:`PYTHONHASHSEED` environment variable is set to anything other
|
||||
than ``random``, since hash randomization is enabled by default.
|
||||
|
||||
On previous versions of Python, this option turns on hash randomization,
|
||||
so that the :meth:`~object.__hash__` values of str and bytes objects
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue