aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/email/message.py
diff options
context:
space:
mode:
authorJosephSBoyle <48555120+JosephSBoyle@users.noreply.github.com>2023-04-24 20:19:28 +0100
committerGitHub <noreply@github.com>2023-04-24 19:19:28 +0000
commit04ea04807dc76955f56ad25a81a0947536343c09 (patch)
tree1620f517dde39171e42e633494ae594087753510 /Lib/email/message.py
parent58b6be3791f55ceb550822ffd8664eca10fd89c4 (diff)
downloadcpython-04ea04807dc76955f56ad25a81a0947536343c09.tar.gz
cpython-04ea04807dc76955f56ad25a81a0947536343c09.zip
gh-102498 Clean up unused variables and imports in the email module (#102482)
* Clean up unused variables and imports in the email module * Remove extra newline char * Remove superflous dict+unpacking syntax * Remove unused 'msg' var * Clean up unused variables and imports in the email module * Remove extra newline char * Remove superflous dict+unpacking syntax * Remove unused 'msg' var --------- Co-authored-by: Barry Warsaw <barry@python.org>
Diffstat (limited to 'Lib/email/message.py')
-rw-r--r--Lib/email/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/message.py b/Lib/email/message.py
index b540c33984a..411118c74da 100644
--- a/Lib/email/message.py
+++ b/Lib/email/message.py
@@ -14,7 +14,7 @@ from io import BytesIO, StringIO
# Intrapackage imports
from email import utils
from email import errors
-from email._policybase import Policy, compat32
+from email._policybase import compat32
from email import charset as _charset
from email._encoded_words import decode_b
Charset = _charset.Charset