Searched refs:fix_eols (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Lib/email/ |
D | base64mime.py | 40 from email.utils import fix_eols 96 header = fix_eols(header) 140 s = fix_eols(s)
|
D | quoprimime.py | 49 from email.utils import fix_eols 148 header = fix_eols(header) 198 body = fix_eols(body)
|
D | utils.py | 75 def fix_eols(s): function
|
/external/python/cpython2/Lib/email/test/ |
D | test_email_renamed.py | 2250 eq(utils.fix_eols('hello'), 'hello') 2251 eq(utils.fix_eols('hello\n'), 'hello\r\n') 2252 eq(utils.fix_eols('hello\r'), 'hello\r\n') 2253 eq(utils.fix_eols('hello\r\n'), 'hello\r\n') 2254 eq(utils.fix_eols('hello\n\r'), 'hello\r\n\r\n')
|
D | test_email.py | 2370 eq(Utils.fix_eols('hello'), 'hello') 2371 eq(Utils.fix_eols('hello\n'), 'hello\r\n') 2372 eq(Utils.fix_eols('hello\r'), 'hello\r\n') 2373 eq(Utils.fix_eols('hello\r\n'), 'hello\r\n') 2374 eq(Utils.fix_eols('hello\n\r'), 'hello\r\n\r\n')
|