[Python-checkins] Fix typo on inline comment for email.generator (GH-98210)

miss-islington webhook-mailer at python.org
Fri Nov 25 13:03:26 EST 2022


https://github.com/python/cpython/commit/5d4d83130c1538586e559a64e3a2341794da92d9
commit: 5d4d83130c1538586e559a64e3a2341794da92d9
branch: main
author: Gary Donovan <garyd203 at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-11-25T10:03:20-08:00
summary:

Fix typo on inline comment for email.generator (GH-98210)



Trivial change to comment - no issue or new entry necessary

files:
M Lib/email/generator.py

diff --git a/Lib/email/generator.py b/Lib/email/generator.py
index c9b121624e08..885e6ba98540 100644
--- a/Lib/email/generator.py
+++ b/Lib/email/generator.py
@@ -170,7 +170,7 @@ def _write(self, msg):
         # parameter.
         #
         # The way we do this, so as to make the _handle_*() methods simpler,
-        # is to cache any subpart writes into a buffer.  The we write the
+        # is to cache any subpart writes into a buffer.  Then we write the
         # headers and the buffer contents.  That way, subpart handlers can
         # Do The Right Thing, and can still modify the Content-Type: header if
         # necessary.



More information about the Python-checkins mailing list