diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-11 22:34:00 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-11 22:34:00 (GMT) |
commit | 0f84764a09401bb93f544141a433db5acd751dd2 (patch) | |
tree | 738adf0e585f39a92f5f3b414fc3feeab636e196 /Lib/email/_header_value_parser.py | |
parent | 98472b839674a78b0cbb09f50a61f70019591a4a (diff) | |
download | cpython-0f84764a09401bb93f544141a433db5acd751dd2.zip cpython-0f84764a09401bb93f544141a433db5acd751dd2.tar.gz cpython-0f84764a09401bb93f544141a433db5acd751dd2.tar.bz2 |
Issue #17047: remove doubled words added in 3.3
as reported by Serhiy Storchaka and Matthew Barnett.
Diffstat (limited to 'Lib/email/_header_value_parser.py')
-rw-r--r-- | Lib/email/_header_value_parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/_header_value_parser.py b/Lib/email/_header_value_parser.py index 1924ed1..26cfa52 100644 --- a/Lib/email/_header_value_parser.py +++ b/Lib/email/_header_value_parser.py @@ -1864,7 +1864,7 @@ def get_dtext(value): """ dtext = <printable ascii except \ [ ]> / obs-dtext obs-dtext = obs-NO-WS-CTL / quoted-pair - We allow anything except the excluded characters, but but if we find any + We allow anything except the excluded characters, but if we find any ASCII other than the RFC defined printable ASCII an NonPrintableDefect is added to the token's defects list. Quoted pairs are converted to their unquoted values, so what is returned is a ptext token, in this case a |