From: Andrew M. Kuchling Date: Fri, 31 Oct 2003 19:52:42 +0000 (+0000) Subject: [Bug #817178] Fix incorrect arguments in example, noted by Terry Reedy X-Git-Tag: v2.3.3c1~95 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3b34c65bfe395725816a413461472c28fec7ba6c;p=thirdparty%2FPython%2Fcpython.git [Bug #817178] Fix incorrect arguments in example, noted by Terry Reedy --- diff --git a/Doc/lib/emailmessage.tex b/Doc/lib/emailmessage.tex index 372c5397c9fc..dbd1afd649d3 100644 --- a/Doc/lib/emailmessage.tex +++ b/Doc/lib/emailmessage.tex @@ -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}