We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-R
1 parent 925c752 commit 769f7a5Copy full SHA for 769f7a5
Doc/using/cmdline.rst
@@ -369,8 +369,8 @@ Miscellaneous options
369
.. option:: -R
370
371
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.
+ :envvar:`PYTHONHASHSEED` environment variable is set to anything other
+ than ``random``, since hash randomization is enabled by default.
374
375
On previous versions of Python, this option turns on hash randomization,
376
so that the :meth:`~object.__hash__` values of str and bytes objects
0 commit comments