Skip to content

Commit 406a81f

Browse files
[3.13] pythongh-89905: Correct -R option doc (pythonGH-137608) (python#138354)
pythongh-89905: Correct `-R` option doc (pythonGH-137608) (cherry picked from commit b3ff316) Co-authored-by: Stan Ulbrych <[email protected]>
1 parent 76aa2ab commit 406a81f

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
@@ -366,8 +366,8 @@ Miscellaneous options
366366
.. option:: -R
367367

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

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

0 commit comments

Comments
 (0)