Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/reference/datamodel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1394,7 +1394,7 @@ Basic customization

.. note::

By default, the :meth:`__hash__` values of str, bytes and datetime
By default, the :meth:`__hash__` values of str, bytes and some datetime
objects are "salted" with an unpredictable random value. Although they
remain constant within an individual Python process, they are not
predictable between repeated invocations of Python.
Expand Down
4 changes: 2 additions & 2 deletions Doc/using/cmdline.rst
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ Miscellaneous options
turned on by default.

On previous versions of Python, this option turns on hash randomization,
so that the :meth:`__hash__` values of str, bytes and datetime
so that the :meth:`__hash__` values of str, bytes and some datetime objects
are "salted" with an unpredictable random value. Although they remain
constant within an individual Python process, they are not predictable
between repeated invocations of Python.
Expand Down Expand Up @@ -540,7 +540,7 @@ conflict.
.. envvar:: PYTHONHASHSEED

If this variable is not set or set to ``random``, a random value is used
to seed the hashes of str, bytes and datetime objects.
to seed the hashes of str, bytes and some datetime objects.

If :envvar:`PYTHONHASHSEED` is set to an integer value, it is used as a fixed
seed for generating the hash() of the types covered by the hash
Expand Down