diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-02-12 20:16:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-12 20:16:42 +0200 |
commit | 17cec70a38b297779b8fd3f081fb041d45ae1dff (patch) | |
tree | e3545c6f1e41d358d42d30f9fecd53658697478d /Lib/email | |
parent | 40290647167d96752b924ff109cc527aca729872 (diff) | |
download | cpython-git-17cec70a38b297779b8fd3f081fb041d45ae1dff.tar.gz |
bpo-30109: Fix reindent.py for non-ASCII files. (#5637)
It now processes files as binary streams.
This also fixes "make reindent".
Diffstat (limited to 'Lib/email')
-rw-r--r-- | Lib/email/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/utils.py b/Lib/email/utils.py index a74db42286..5b22521e58 100644 --- a/Lib/email/utils.py +++ b/Lib/email/utils.py @@ -213,7 +213,7 @@ def parsedate_tz(data): def parseaddr(addr): """ Parse addr into its constituent realname and email address parts. - + Return a tuple of realname and email address, unless the parse fails, in which case return a 2-tuple of ('', ''). """ |