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
2016-10-07 17:32:19
Comments
Leave a Comment

Please login to continue.