mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Remove reST markup from --help output. Also: O(n**2) is dict construction, not single insertion.
This commit is contained in:
parent
69e9727657
commit
c9a42070a6
3 changed files with 5 additions and 5 deletions
|
@ -224,7 +224,7 @@ Miscellaneous options
|
||||||
|
|
||||||
This is intended to provide protection against a denial-of-service caused by
|
This is intended to provide protection against a denial-of-service caused by
|
||||||
carefully-chosen inputs that exploit the worst case performance of a dict
|
carefully-chosen inputs that exploit the worst case performance of a dict
|
||||||
insertion, O(n^2) complexity. See
|
construction, O(n^2) complexity. See
|
||||||
http://www.ocert.org/advisories/ocert-2011-003.html for details.
|
http://www.ocert.org/advisories/ocert-2011-003.html for details.
|
||||||
|
|
||||||
Changing hash values affects the order in which keys are retrieved from a
|
Changing hash values affects the order in which keys are retrieved from a
|
||||||
|
|
|
@ -156,7 +156,7 @@ not predictable between repeated invocations of Python.
|
||||||
.IP
|
.IP
|
||||||
This is intended to provide protection against a denial of service
|
This is intended to provide protection against a denial of service
|
||||||
caused by carefully-chosen inputs that exploit the worst case performance
|
caused by carefully-chosen inputs that exploit the worst case performance
|
||||||
of a dict insertion, O(n^2) complexity. See
|
of a dict construction, O(n^2) complexity. See
|
||||||
http://www.ocert.org/advisories/ocert-2011-003.html
|
http://www.ocert.org/advisories/ocert-2011-003.html
|
||||||
for details.
|
for details.
|
||||||
.TP
|
.TP
|
||||||
|
|
|
@ -103,9 +103,9 @@ PYTHONCASEOK : ignore case in 'import' statements (Windows).\n\
|
||||||
PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.\n\
|
PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.\n\
|
||||||
";
|
";
|
||||||
static char *usage_6 = "\
|
static char *usage_6 = "\
|
||||||
PYTHONHASHSEED: if this variable is set to ``random``, the effect is the same \n\
|
PYTHONHASHSEED: if this variable is set to 'random', the effect is the same\n\
|
||||||
as specifying the :option:`-R` option: a random value is used to seed the\n\
|
as specifying the -R option: a random value is used to seed the hashes of\n\
|
||||||
hashes of str, bytes and datetime objects. It can also be set to an integer\n\
|
str, bytes and datetime objects. It can also be set to an integer\n\
|
||||||
in the range [0,4294967295] to get hash values with a predictable seed.\n\
|
in the range [0,4294967295] to get hash values with a predictable seed.\n\
|
||||||
";
|
";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue