diff --git a/Lib/email/generator.py b/Lib/email/generator.py index ce9c36bbdb7..fa45dcb7ea7 100644 --- a/Lib/email/generator.py +++ b/Lib/email/generator.py @@ -292,7 +292,7 @@ class Generator: _FMT = '[Non-text (%(type)s) part of message omitted, filename %(filename)s]' class DecodedGenerator(Generator): - """Generator a text representation of a message. + """Generates a text representation of a message. Like the Generator base class, except that non-text parts are substituted with a format string representing the part.