Skip to content

Commit 6701d7f

Browse files
committed
Fix mangle_from_ default value in email.policy.Policy.__doc__
The docstring says it defaults to True, but it actually defaults to False. Only the Compat32 subclass overrides that.
1 parent 21336aa commit 6701d7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/email/_policybase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class Policy(_PolicyBase, metaclass=abc.ABCMeta):
152152
mangle_from_ -- a flag that, when True escapes From_ lines in the
153153
body of the message by putting a `>' in front of
154154
them. This is used when the message is being
155-
serialized by a generator. Default: True.
155+
serialized by a generator. Default: False.
156156
157157
message_factory -- the class to use to create new message objects.
158158
If the value is None, the default is Message.

0 commit comments

Comments
 (0)