summaryrefslogtreecommitdiffstats
path: root/Doc/lib/emailmessage.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/emailmessage.tex')
-rw-r--r--Doc/lib/emailmessage.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/emailmessage.tex b/Doc/lib/emailmessage.tex
index 372c539..dbd1afd 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}