Commit b4b9ced1 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

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

parent 2389c41a
......@@ -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}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment