summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2003-10-31 19:52:30 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2003-10-31 19:52:30 (GMT)
commitb4b9ced1b6a6da388c52e82f1fc67a0ea1dfed87 (patch)
treefd4046ce3203ea85bed1a5a6bcc86788a6bdbc95 /Doc
parent2389c41a1029c4017055e5e4fd07c6bfd4bda157 (diff)
downloadcpython-b4b9ced1b6a6da388c52e82f1fc67a0ea1dfed87.zip
cpython-b4b9ced1b6a6da388c52e82f1fc67a0ea1dfed87.tar.gz
cpython-b4b9ced1b6a6da388c52e82f1fc67a0ea1dfed87.tar.bz2
[Bug #817178] Fix incorrect arguments in example, noted by Terry Reedy
Diffstat (limited to 'Doc')
-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}