]> granicus.if.org Git - python/commitdiff
[Bug #817178] Fix incorrect arguments in example, noted by Terry Reedy
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 31 Oct 2003 19:52:30 +0000 (19:52 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 31 Oct 2003 19:52:30 +0000 (19:52 +0000)
Doc/lib/emailmessage.tex

index 372c5397c9fc609d553fb7f4dc3c25cc2e1c5c31..dbd1afd649d35a68c06e949cebcfd66e7bc867bd 100644 (file)
@@ -46,7 +46,7 @@ instantiate a \class{Generator} instance and use its
 from cStringIO import StringIO
 from email.Generator import Generator
 fp = StringIO()
-g = Generator(mangle_from_=False, maxheaderlen=60)
+g = Generator(fp, mangle_from_=False, maxheaderlen=60)
 g.flatten(msg)
 text = fp.getvalue()
 \end{verbatim}