diff options
author | wim glenn <jump@wimglenn.com> | 2024-05-05 06:18:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-05 06:18:04 (GMT) |
commit | fed8d73fde779fca41026398376cb3038e9b2b5f (patch) | |
tree | ad9d1b918aeaeb1c68e3165b08041b69f8195b2d /Lib/email/_policybase.py | |
parent | 711c80bfca5dd17cb7c6ec26f0e44848b33aec04 (diff) | |
download | cpython-fed8d73fde779fca41026398376cb3038e9b2b5f.zip cpython-fed8d73fde779fca41026398376cb3038e9b2b5f.tar.gz cpython-fed8d73fde779fca41026398376cb3038e9b2b5f.tar.bz2 |
gh-118455: Fix mangle_from_ default value in email.policy.Policy.__doc__ (#118456)
* 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.
---------
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Diffstat (limited to 'Lib/email/_policybase.py')
-rw-r--r-- | Lib/email/_policybase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/_policybase.py b/Lib/email/_policybase.py index c9cbadd..2ec54fb 100644 --- a/Lib/email/_policybase.py +++ b/Lib/email/_policybase.py @@ -152,7 +152,7 @@ class Policy(_PolicyBase, metaclass=abc.ABCMeta): mangle_from_ -- a flag that, when True escapes From_ lines in the body of the message by putting a `>' in front of them. This is used when the message is being - serialized by a generator. Default: True. + serialized by a generator. Default: False. message_factory -- the class to use to create new message objects. If the value is None, the default is Message. |