email.charset.Charset.header_encode_lines()

header_encode_lines(string, maxlengths)

Header-encode a string by converting it first to bytes.

This is similar to header_encode() except that the string is fit into maximum line lengths as given by the argument maxlengths, which must be an iterator: each element returned from this iterator will provide the next maximum line length.

doc_python
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.