File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1445,8 +1445,8 @@ Basic customization
1445
1445
1446
1446
.. note ::
1447
1447
1448
- By default, the :meth: `__hash__ ` values of str, bytes and datetime
1449
- objects are "salted" with an unpredictable random value. Although they
1448
+ By default, the :meth: `__hash__ ` values of str and bytes objects are
1449
+ "salted" with an unpredictable random value. Although they
1450
1450
remain constant within an individual Python process, they are not
1451
1451
predictable between repeated invocations of Python.
1452
1452
Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ Miscellaneous options
302
302
randomization is enabled by default.
303
303
304
304
On previous versions of Python, this option turns on hash randomization,
305
- so that the :meth: `__hash__ ` values of str, bytes and datetime
305
+ so that the :meth: `__hash__ ` values of str and bytes objects
306
306
are "salted" with an unpredictable random value. Although they remain
307
307
constant within an individual Python process, they are not predictable
308
308
between repeated invocations of Python.
@@ -618,7 +618,7 @@ conflict.
618
618
.. envvar :: PYTHONHASHSEED
619
619
620
620
If this variable is not set or set to ``random ``, a random value is used
621
- to seed the hashes of str, bytes and datetime objects.
621
+ to seed the hashes of str and bytes objects.
622
622
623
623
If :envvar: `PYTHONHASHSEED ` is set to an integer value, it is used as a fixed
624
624
seed for generating the hash() of the types covered by the hash
Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ If this is set to a comma-separated string it is equivalent to
431
431
specifying the \fB \- W \fP option for each separate value.
432
432
.IP PYTHONHASHSEED
433
433
If this variable is set to "random", a random value is used to seed the hashes
434
- of str, bytes and datetime objects.
434
+ of str and bytes objects.
435
435
436
436
If PYTHONHASHSEED is set to an integer value, it is used as a fixed seed for
437
437
generating the hash() of the types covered by the hash randomization. Its
Original file line number Diff line number Diff line change @@ -83,8 +83,8 @@ static const char usage_5[] =
83
83
"PYTHONFAULTHANDLER: dump the Python traceback on fatal errors.\n" ;
84
84
static const char usage_6 [] =
85
85
"PYTHONHASHSEED: if this variable is set to 'random', a random value is used\n"
86
- " to seed the hashes of str, bytes and datetime objects. It can also be\n"
87
- " set to an integer in the range [0,4294967295] to get hash values with a\n"
86
+ " to seed the hashes of str and bytes objects. It can also be set to an \n"
87
+ " integer in the range [0,4294967295] to get hash values with a\n"
88
88
" predictable seed.\n"
89
89
"PYTHONMALLOC: set the Python memory allocators and/or install debug hooks\n"
90
90
" on Python memory allocators. Use PYTHONMALLOC=debug to install debug\n"
You can’t perform that action at this time.
0 commit comments