[Bug #817178] Fix incorrect arguments in example, noted by Terry Reedy

This commit is contained in:
Andrew M. Kuchling 2003-10-31 19:52:30 +00:00
parent 2389c41a10
commit b4b9ced1b6
1 changed files with 1 additions and 1 deletions

View 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}