Skip to content

Commit 769f7a5

Browse files
[3.14] gh-89905: Correct -R option doc (GH-137608) (#138353)
Co-authored-by: Stan Ulbrych <[email protected]>
1 parent 925c752 commit 769f7a5

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)