Closes #4159: add LaTeX tabular column specifications to tables that otherwise are cut off or have overlapping text.
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index 28ea89d..9e1a9c7 100644
--- a/Doc/library/codecs.rst
+++ b/Doc/library/codecs.rst
@@ -315,6 +315,8 @@
providing the *errors* string argument. The following string values are defined
and implemented by all standard Python codecs:
+.. tabularcolumns:: |l|L|
+
+-------------------------+-----------------------------------------------+
| Value | Meaning |
+=========================+===============================================+
@@ -926,6 +928,8 @@
* an IBM PC code page, which is ASCII compatible
+.. tabularcolumns:: |l|p{0.3\linewidth}|p{0.3\linewidth}|
+
+-----------------+--------------------------------+--------------------------------+
| Codec | Aliases | Languages |
+=================+================================+================================+
@@ -1140,6 +1144,8 @@
.. XXX fix here, should be in above table
+.. tabularcolumns:: |l|p{0.3\linewidth}|p{0.3\linewidth}|
+
+--------------------+---------+---------------------------+
| Codec | Aliases | Purpose |
+====================+=========+===========================+
@@ -1182,6 +1188,8 @@
The following codecs provide bytes-to-bytes mappings.
+.. tabularcolumns:: |l|p{0.3\linewidth}|p{0.3\linewidth}|
+
+--------------------+---------------------------+---------------------------+
| Codec | Aliases | Purpose |
+====================+===========================+===========================+
@@ -1208,6 +1216,8 @@
The following codecs provide string-to-string mappings.
+.. tabularcolumns:: |l|p{0.3\linewidth}|p{0.3\linewidth}|
+
+--------------------+---------------------------+---------------------------+
| Codec | Aliases | Purpose |
+====================+===========================+===========================+