8000 Remove reST markup from --help output. Also: O(n**2) is dict constru… · python/cpython@c9a4207 · GitHub
[go: up one dir, main page]

Skip to content

Commit c9a4207

Browse files
committed
Remove reST markup from --help output. Also: O(n**2) is dict construction, not single insertion.
1 parent 69e9727 commit c9a4207

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ Miscellaneous options
224224

225225
This is intended to provide protection against a denial-of-service caused by
226226
carefully-chosen inputs that exploit the worst case performance of a dict
227-
insertion, O(n^2) complexity. See
227+
construction, O(n^2) complexity. See
228228
http://www.ocert.org/advisories/ocert-2011-003.html for details.
229229

230230
Changing hash values affects the order in which keys are retrieved from a

Misc/python.man

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ not predictable between repeated invocations of Python.
156156
.IP
157157
This is intended to provide protection against a denial of service
158158
caused by carefully-chosen inputs that exploit the worst case performance
159-
of a dict insertion, O(n^2) complexity. See
159+
of a dict construction, O(n^2) complexity. See
160160
http://www.ocert.org/advisories/ocert-2011-003.html
161161
for details.
162162
.TP

Modules/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ PYTHONCASEOK : ignore case in 'import' statements (Windows).\n\
103103
PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.\n\
104104
";
105105
static char *usage_6 = "\
106-
PYTHONHASHSEED: if this variable is set to ``random``, the effect is the same \n\
107-
as specifying the :option:`-R` option: a random value is used to seed the\n\
108-
hashes of str, bytes and datetime objects. It can also be set to an integer\n\
106+
PYTHONHASHSEED: if this variable is set to 'random', the effect is the same\n\
107+
as specifying the -R option: a random value is used to seed the hashes of\n\
108+
str, bytes and datetime objects. It can also be set to an integer\n\
109109
in the range [0,4294967295] to get hash values with a predictable seed.\n\
110110
";
111111

0 commit comments

Comments
 (0)
0