Home
last modified time | relevance | path

Searched refs:SHORTEST (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/email/
Dcharset.py24 SHORTEST = 3 # the shorter of QP and base64, but only for headers variable
60 'utf-8': (SHORTEST, BASE64, 'utf-8'),
131 if body_enc == SHORTEST:
224 (SHORTEST, BASE64, None))
262 assert self.body_encoding != SHORTEST
340 elif self.header_encoding == SHORTEST:
368 elif self.header_encoding == SHORTEST:
/external/python/cpython2/Doc/library/
Demail.charset.rst58 ``Charset.SHORTEST`` for the shortest of QP or BASE64 encoding. Otherwise,
66 ``Charset.SHORTEST`` is not allowed for *body_encoding*.
219 ``Charset.SHORTEST`` for the shortest of quoted-printable or base64 encoding,
220 or ``None`` for no encoding. ``SHORTEST`` is only valid for