Closed
Description
Bug report
Bug description:
>>> from email.policy import Policy
>>> Policy.mangle_from_
False
>>> print(Policy.__doc__)
...
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.
...
This attribute was added in fdb23c2 and was always False by default, as far as I can see.
The docs also correctly say that it defaults to False. I don't know why the class docstring says otherwise.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux