Skip to content

Commit c143cc3

Browse files
authored
Correct referenced RFC number in cgi module (GH-22827)
The quoted sentence can be found from the last paragraph of RFC 2046, Section 5.1, while the content of RFC 2026 is unrelated to this module.
1 parent a6ba2b9 commit c143cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/cgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def parse_multipart(fp, pdict, encoding="utf-8", errors="replace"):
194194
value is a list of values for that field. For non-file fields, the value
195195
is a list of strings.
196196
"""
197-
# RFC 2026, Section 5.1 : The "multipart" boundary delimiters are always
197+
# RFC 2046, Section 5.1 : The "multipart" boundary delimiters are always
198198
# represented as 7bit US-ASCII.
199199
boundary = pdict['boundary'].decode('ascii')
200200
ctype = "multipart/form-data; boundary={}".format(boundary)

0 commit comments

Comments
 (0)