@@ -1310,9 +1310,9 @@ to :class:`bytes` mappings. They are not supported by :meth:`bytes.decode`
13101310+----------------------+------------------+------------------------------+------------------------------+
13111311| Codec | Aliases | Purpose | Encoder / decoder |
13121312+======================+==================+==============================+==============================+
1313- | base64_codec [#b64 ]_ | base64, base_64 | Convert operand to MIME | :meth: `base64.b64encode ` / |
1314- | | | base64 (the result always | :meth: `base64.b64decode ` |
1315- | | | includes a trailing | |
1313+ | base64_codec [#b64 ]_ | base64, base_64 | Convert operand to multiline | :meth: `base64.encodebytes ` / |
1314+ | | | MIME base64 (the result | :meth: `base64.decodebytes ` |
1315+ | | | always includes a trailing | |
13161316| | | ``'\n' ``) | |
13171317| | | | |
13181318| | | .. versionchanged:: 3.4 | |
@@ -1324,14 +1324,14 @@ to :class:`bytes` mappings. They are not supported by :meth:`bytes.decode`
13241324| bz2_codec | bz2 | Compress the operand | :meth: `bz2.compress ` / |
13251325| | | using bz2 | :meth: `bz2.decompress ` |
13261326+----------------------+------------------+------------------------------+------------------------------+
1327- | hex_codec | hex | Convert operand to | :meth: `base64.b16encode ` / |
1328- | | | hexadecimal | :meth: `base64.b16decode ` |
1327+ | hex_codec | hex | Convert operand to | :meth: `binascii.b2a_hex ` / |
1328+ | | | hexadecimal | :meth: `binascii.a2b_hex ` |
13291329| | | representation, with two | |
13301330| | | digits per byte | |
13311331+----------------------+------------------+------------------------------+------------------------------+
1332- | quopri_codec | quopri, | Convert operand to MIME | :meth:`quopri.encodestring` / |
1333- | | quotedprintable, | quoted printable | :meth: ` quopri.decodestring ` |
1334- | | quoted_printable | | |
1332+ | quopri_codec | quopri, | Convert operand to MIME | :meth: `quopri.encode ` with |
1333+ | | quotedprintable, | quoted printable | `` quotetabs=True `` / |
1334+ | | quoted_printable | | :meth: ` quopri.decode ` |
13351335+----------------------+------------------+------------------------------+------------------------------+
13361336| uu_codec | uu | Convert the operand using | :meth: `uu.encode ` / |
13371337| | | uuencode | :meth: `uu.decode ` |
0 commit comments