Lines Matching refs:eol
153 def body_encode(body, maxlinelen=76, eol=NL):
156 Each line of encoded text will end with eol, which defaults to "\\n". Set
161 eol string (maxlinelen defaults to 76 characters, the maximum value
180 soft_break = '=' + eol
226 return eol.join(encoded_body)
232 def decode(encoded, eol=NL):
235 Lines are separated with eol, which defaults to \\n.
247 decoded += eol
272 decoded += eol
273 # Special case if original string did not end with eol
274 if encoded[-1] not in '\r\n' and decoded.endswith(eol):