PyDocs

Nav

Internet Data Handling

Policy.fold

  • Policy.fold(name, value)
Given the header name and the value from the model, return a string
containing linesep characters that implement the folding of the header
according to the policy controls.  The value passed in by the email
package may contain surrogateescaped binary data if the lines were
parsed by a BytesParser.  The returned value should not contain any
surrogateescaped data.
0 Examples
No examples for email.policy/Policy.fold.
See Also
No see-alsos for email.policy/Policy.fold
0 Notes
No notes for Policy.fold