mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
as_string(): Indicate that this mangles From_ lines.
This commit is contained in:
parent
bb11386730
commit
05bef930fa
1 changed files with 2 additions and 1 deletions
|
@ -119,7 +119,8 @@ class Message:
|
||||||
header.
|
header.
|
||||||
|
|
||||||
This is a convenience method and may not generate the message exactly
|
This is a convenience method and may not generate the message exactly
|
||||||
as you intend. For more flexibility, use the flatten() method of a
|
as you intend because by default it mangles lines that begin with
|
||||||
|
"From ". For more flexibility, use the flatten() method of a
|
||||||
Generator instance.
|
Generator instance.
|
||||||
"""
|
"""
|
||||||
from email.Generator import Generator
|
from email.Generator import Generator
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue