https://github.com/python/cpython/commit/406a81fc321f8cb657e1909c6997bb8b0bc7e1ff
commit: 406a81fc321f8cb657e1909c6997bb8b0bc7e1ff
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: vstinner <[email protected]>
date: 2025-09-01T18:05:26Z
summary:

[3.13] gh-89905: Correct `-R` option doc (GH-137608) (#138354)

gh-89905: Correct `-R` option doc (GH-137608)
(cherry picked from commit b3ff3165d2c935fdda7c5bb1e69314372e1cf84c)

Co-authored-by: Stan Ulbrych <[email protected]>

files:
M Doc/using/cmdline.rst

diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 7f0ea220de6f52..762579abeaf927 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -366,8 +366,8 @@ Miscellaneous options
 .. option:: -R
 
    Turn on hash randomization. This option only has an effect if the
-   :envvar:`PYTHONHASHSEED` environment variable is set to ``0``, since hash
-   randomization is enabled by default.
+   :envvar:`PYTHONHASHSEED` environment variable is set to anything other
+   than ``random``, since hash randomization is enabled by default.
 
    On previous versions of Python, this option turns on hash randomization,
    so that the :meth:`~object.__hash__` values of str and bytes objects

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to