Kaydet (Commit) b4b9ced1 authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

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

üst 2389c41a
...@@ -46,7 +46,7 @@ instantiate a \class{Generator} instance and use its ...@@ -46,7 +46,7 @@ instantiate a \class{Generator} instance and use its
from cStringIO import StringIO from cStringIO import StringIO
from email.Generator import Generator from email.Generator import Generator
fp = StringIO() fp = StringIO()
g = Generator(mangle_from_=False, maxheaderlen=60) g = Generator(fp, mangle_from_=False, maxheaderlen=60)
g.flatten(msg) g.flatten(msg)
text = fp.getvalue() text = fp.getvalue()
\end{verbatim} \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