Skip to content

Commit 27352e9

Browse files
Fixing typos
1 parent 21e5e48 commit 27352e9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Lib/cgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def __init__(self, fp=None, headers=None, outerboundary=b'',
352352
for the page sending the form (content-type : meta http-equiv or
353353
header)
354354
355-
max_num_fields: Integer. If set, then __init__ throws an ValueError
355+
max_num_fields: Integer. If set, then __init__ throws a ValueError
356356
if there are more than n fields read by parse_qsl().
357357
358358
"""

Lib/urllib/parse.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ def parse_qs(qs, keep_blank_values=False, strict_parsing=False,
649649
encoding and errors: specify how to decode percent-encoded sequences
650650
into Unicode characters, as accepted by the bytes.decode() method.
651651
652-
max_num_fields: Integer. If set, then throws an ValueError if there
652+
max_num_fields: Integer. If set, then throws a ValueError if there
653653
are more than n fields read by parse_qsl().
654654
655655
Returns a dictionary.
@@ -692,7 +692,7 @@ def parse_qsl(qs, keep_blank_values=False, strict_parsing=False,
692692
encoding and errors: specify how to decode percent-encoded sequences
693693
into Unicode characters, as accepted by the bytes.decode() method.
694694
695-
max_num_fields: Integer. If set, then throws an ValueError
695+
max_num_fields: Integer. If set, then throws a ValueError
696696
if there are more than n fields read by parse_qsl().
697697
698698
Returns a list, as G-d intended.

0 commit comments

Comments
 (0)