mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
[Bug #817178] Fix incorrect arguments in example, noted by Terry Reedy
This commit is contained in:
parent
2389c41a10
commit
b4b9ced1b6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue