summaryrefslogtreecommitdiffstats
path: root/Lib/email/feedparser.py
diff options
context:
space:
mode:
authorJosephSBoyle <48555120+JosephSBoyle@users.noreply.github.com>2023-04-24 19:19:28 (GMT)
committerGitHub <noreply@github.com>2023-04-24 19:19:28 (GMT)
commit04ea04807dc76955f56ad25a81a0947536343c09 (patch)
tree1620f517dde39171e42e633494ae594087753510 /Lib/email/feedparser.py
parent58b6be3791f55ceb550822ffd8664eca10fd89c4 (diff)
downloadcpython-04ea04807dc76955f56ad25a81a0947536343c09.zip
cpython-04ea04807dc76955f56ad25a81a0947536343c09.tar.gz
cpython-04ea04807dc76955f56ad25a81a0947536343c09.tar.bz2
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/feedparser.py')
-rw-r--r--Lib/email/feedparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/feedparser.py b/Lib/email/feedparser.py
index 6bc4e0c..885097c 100644
--- a/Lib/email/feedparser.py
+++ b/Lib/email/feedparser.py
@@ -264,7 +264,7 @@ class FeedParser:
yield NeedMoreData
continue
break
- msg = self._pop_message()
+ self._pop_message()
# We need to pop the EOF matcher in order to tell if we're at
# the end of the current file, not the end of the last block
# of message headers.