@@ -1284,9 +1284,9 @@ to :class:`bytes` mappings. They are not supported by :meth:`bytes.decode`
12841284+----------------------+------------------+------------------------------+------------------------------+
12851285| Codec | Aliases | Purpose | Encoder / decoder |
12861286+======================+==================+==============================+==============================+
1287- | base64_codec [#b64 ]_ | base64, base_64 | Convert operand to MIME | :meth: `base64.b64encode ` / |
1288- | | | base64 (the result always | :meth: `base64.b64decode ` |
1289- | | | includes a trailing | |
1287+ | base64_codec [#b64 ]_ | base64, base_64 | Convert operand to multiline | :meth: `base64.encodebytes ` / |
1288+ | | | MIME base64 (the result | :meth: `base64.decodebytes ` |
1289+ | | | always includes a trailing | |
12901290| | | ``'\n' ``) | |
12911291| | | | |
12921292| | | .. versionchanged:: 3.4 | |
@@ -1298,14 +1298,14 @@ to :class:`bytes` mappings. They are not supported by :meth:`bytes.decode`
12981298| bz2_codec | bz2 | Compress the operand | :meth: `bz2.compress ` / |
12991299| | | using bz2 | :meth: `bz2.decompress ` |
13001300+----------------------+------------------+------------------------------+------------------------------+
1301- | hex_codec | hex | Convert operand to | :meth: `base64.b16encode ` / |
1302- | | | hexadecimal | :meth: `base64.b16decode ` |
1301+ | hex_codec | hex | Convert operand to | :meth: `binascii.b2a_hex ` / |
1302+ | | | hexadecimal | :meth: `binascii.a2b_hex ` |
13031303| | | representation, with two | |
13041304| | | digits per byte | |
13051305+----------------------+------------------+------------------------------+------------------------------+
1306- | quopri_codec | quopri, | Convert operand to MIME | :meth:`quopri.encodestring` / |
1307- | | quotedprintable, | quoted printable | :meth: ` quopri.decodestring ` |
1308- | | quoted_printable | | |
1306+ | quopri_codec | quopri, | Convert operand to MIME | :meth: `quopri.encode ` with |
1307+ | | quotedprintable, | quoted printable | `` quotetabs=True `` / |
1308+ | | quoted_printable | | :meth: ` quopri.decode ` |
13091309+----------------------+------------------+------------------------------+------------------------------+
13101310| uu_codec | uu | Convert the operand using | :meth: `uu.encode ` / |
13111311| | | uuencode | :meth: `uu.decode ` |
0 commit comments