__bytes__() Equivalent to as_bytes(). Allows bytes(msg) to produce a bytes object containing the formatted
mimetypes.add_type(type, ext, strict=True) Add a mapping from the MIME type type to the extension ext. When
add(message) __setitem__(key, message) update(arg)
MimeTypes.types_map_inv Tuple containing two dictionaries, mapping MIME types to a list of filename extensions: the first dictionary
binascii.b2a_hex(data) binascii.hexlify(data) Return the hexadecimal representation of the binary data
__contains__(key) Return True if key corresponds to a message, False otherwise.
mailcap.getcaps() Returns a dictionary mapping MIME types to a list of mailcap file entries. This dictionary must be passed
class json.JSONDecoder(object_hook=None, parse_float=None, parse_int=None, parse_constant=None, strict=True, object_pairs_hook=None) Simple
lock() unlock() Three locking mechanisms are used—dot locking and, if available, the flock() and lockf()
unlock() Maildir mailboxes do not support (or require) locking, so these methods do nothing.
Page 1 of 44