Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 173d410

Browse files
committed
#17841: remove missing codecs aliases from the documentation. Patch by Thomas Fenzl.
1 parent ddcb304 commit 173d410

2 files changed

Lines changed: 34 additions & 33 deletions

File tree

Doc/library/codecs.rst

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,44 +1188,44 @@ particular, the following variants typically exist:
11881188

11891189
The following codecs provide bytes-to-bytes mappings.
11901190

1191-
.. tabularcolumns:: |l|p{0.3\linewidth}|p{0.3\linewidth}|
1191+
.. tabularcolumns:: |l|L|
11921192

1193-
+--------------------+---------------------------+---------------------------+
1194-
| Codec | Aliases | Purpose |
1195-
+====================+===========================+===========================+
1196-
| base64_codec | base64, base-64 | Convert operand to MIME |
1197-
| | | base64 (the result always |
1198-
| | | includes a trailing |
1199-
| | | ``'\n'``) |
1200-
+--------------------+---------------------------+---------------------------+
1201-
| bz2_codec | bz2 | Compress the operand |
1202-
| | | using bz2 |
1203-
+--------------------+---------------------------+---------------------------+
1204-
| hex_codec | hex | Convert operand to |
1205-
| | | hexadecimal |
1206-
| | | representation, with two |
1207-
| | | digits per byte |
1208-
+--------------------+---------------------------+---------------------------+
1209-
| quopri_codec | quopri, quoted-printable, | Convert operand to MIME |
1210-
| | quotedprintable | quoted printable |
1211-
+--------------------+---------------------------+---------------------------+
1212-
| uu_codec | uu | Convert the operand using |
1213-
| | | uuencode |
1214-
+--------------------+---------------------------+---------------------------+
1215-
| zlib_codec | zip, zlib | Compress the operand |
1216-
| | | using gzip |
1217-
+--------------------+---------------------------+---------------------------+
1193+
+--------------------+---------------------------+
1194+
| Codec | Purpose |
1195+
+====================+===========================+
1196+
| base64_codec | Convert operand to MIME |
1197+
| | base64 (the result always |
1198+
| | includes a trailing |
1199+
| | ``'\n'``) |
1200+
+--------------------+---------------------------+
1201+
| bz2_codec | Compress the operand |
1202+
| | using bz2 |
1203+
+--------------------+---------------------------+
1204+
| hex_codec | Convert operand to |
1205+
| | hexadecimal |
1206+
| | representation, with two |
1207+
| | digits per byte |
1208+
+--------------------+---------------------------+
1209+
| quopri_codec | Convert operand to MIME |
1210+
| | quoted printable |
1211+
+--------------------+---------------------------+
1212+
| uu_codec | Convert the operand using |
1213+
| | uuencode |
1214+
+--------------------+---------------------------+
1215+
| zlib_codec | Compress the operand |
1216+
| | using gzip |
1217+
+--------------------+---------------------------+
12181218

12191219
The following codecs provide string-to-string mappings.
12201220

1221-
.. tabularcolumns:: |l|p{0.3\linewidth}|p{0.3\linewidth}|
1221+
.. tabularcolumns:: |l|L|
12221222

1223-
+--------------------+---------------------------+---------------------------+
1224-
| Codec | Aliases | Purpose |
1225-
+====================+===========================+===========================+
1226-
| rot_13 | rot13 | Returns the Caesar-cypher |
1227-
| | | encryption of the operand |
1228-
+--------------------+---------------------------+---------------------------+
1223+
+--------------------+---------------------------+
1224+
| Codec | Purpose |
1225+
+====================+===========================+
1226+
| rot_13 | Returns the Caesar-cypher |
1227+
| | encryption of the operand |
1228+
+--------------------+---------------------------+
12291229

12301230
.. versionadded:: 3.2
12311231
bytes-to-bytes and string-to-string codecs.

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ Michael Farrell
365365
Troy J. Farrell
366366
Mark Favas
367367
Boris Feld
368+
Thomas Fenzl
368369
Niels Ferguson
369370
Sebastian Fernandez
370371
Florian Festi

0 commit comments

Comments
 (0)