mirror of https://github.com/python/cpython.git
[Bug #817178] Fix incorrect arguments in example, noted by Terry Reedy
This commit is contained in:
parent
2389c41a10
commit
b4b9ced1b6
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue