PyDocs

Nav

Internet Data Handling

Policy.max_line_length

email.policy

attribute of Policy
The maximum length of any line in the serialized output, not counting the end of line character(s). Default is 78, per RFC 5322. A value of 0 or None indicates that no line wrapping should be done at all.
1 Example
>>> policy100 = policy.compat32.clone(max_line_length=100)
>>> policy80 = policy.compat32.clone(max_line_length=80)
>>> apolicy = policy100 + policy80
>>> apolicy.max_line_length
80
>>> apolicy = policy80 + policy100
>>> apolicy.max_line_length
100
from the Python docs
See Also
No see-alsos for email.policy/Policy.max_line_length
0 Notes
No notes for Policy.max_line_length