]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-118455: Fix mangle_from_ default value in email.policy.Policy.__doc__ ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 5 May 2024 06:35:11 +0000 (08:35 +0200)
committerGitHub <noreply@github.com>
Sun, 5 May 2024 06:35:11 +0000 (06:35 +0000)
commitd629819f60b84583714595e5a2c1f4ad69d1ccc1
tree8b0c7e3e69a65633acafff23fdcaea5fa0ec8149
parent0c605244a8f91b96b87eb5000bfe9e64428b8084
[3.12] gh-118455: Fix mangle_from_ default value in email.policy.Policy.__doc__ (GH-118456) (#118586)

gh-118455: Fix mangle_from_ default value in email.policy.Policy.__doc__ (GH-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.

---------

(cherry picked from commit fed8d73fde779fca41026398376cb3038e9b2b5f)

Co-authored-by: wim glenn <jump@wimglenn.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Lib/email/_policybase.py