summaryrefslogtreecommitdiff
path: root/Lib/email/_header_value_parser.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-03-11 18:36:38 -0400
committerTerry Jan Reedy <tjreedy@udel.edu>2013-03-11 18:36:38 -0400
commit8b53559a899e269aed6014eaaad545567c06b77e (patch)
treef85f02115f84d0cb1af9877cd90a45f1e1d1b010 /Lib/email/_header_value_parser.py
parent16b5c13668b0fe0ecb2265b6d6968d3da5ca10ba (diff)
parent0f84764a09401bb93f544141a433db5acd751dd2 (diff)
downloadcpython-git-8b53559a899e269aed6014eaaad545567c06b77e.tar.gz
Merge with 3.3, 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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/_header_value_parser.py b/Lib/email/_header_value_parser.py
index b5964627e7..19285055a4 100644
--- a/Lib/email/_header_value_parser.py
+++ b/Lib/email/_header_value_parser.py
@@ -1863,7 +1863,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