]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-118455: Fix mangle_from_ default value in email.policy.Policy.__doc__ (#118456)
authorwim glenn <jump@wimglenn.com>
Sun, 5 May 2024 06:18:04 +0000 (01:18 -0500)
committerGitHub <noreply@github.com>
Sun, 5 May 2024 06:18:04 +0000 (09:18 +0300)
commitfed8d73fde779fca41026398376cb3038e9b2b5f
treead9d1b918aeaeb1c68e3165b08041b69f8195b2d
parent711c80bfca5dd17cb7c6ec26f0e44848b33aec04
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>
Lib/email/_policybase.py