Skip to content

Commit f20f29d

Browse files
StanFromIrelandmiss-islington
authored andcommitted
gh-89905: Correct -R option doc (GH-137608)
(cherry picked from commit b3ff316) Co-authored-by: Stan Ulbrych <[email protected]>
1 parent 5ec6d56 commit f20f29d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/using/cmdline.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,8 @@ Miscellaneous options
369369
.. option:: -R
370370

371371
Turn on hash randomization. This option only has an effect if the
372-
:envvar:`PYTHONHASHSEED` environment variable is set to ``0``, since hash
373-
randomization is enabled by default.
372+
:envvar:`PYTHONHASHSEED` environment variable is set to anything other
373+
than ``random``, since hash randomization is enabled by default.
374374

375375
On previous versions of Python, this option turns on hash randomization,
376376
so that the :meth:`~object.__hash__` values of str and bytes objects

0 commit comments

Comments
 (0)