Skip to content

Commit 6a421f0

Browse files
Correct
1 parent 3b402a1 commit 6a421f0

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,
373-
since hash 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)