Closes #4159: add LaTeX tabular column specifications to tables that … · python/cpython@44ea77b · GitHub
Skip to content

Commit 44ea77b

Browse files
committed
Closes #4159: add LaTeX tabular column specifications to tables that otherwise are cut off or have overlapping text.
1 parent 6ba6b13 commit 44ea77b

32 files changed

Lines changed: 129 additions & 30 deletions

Doc/c-api/buffer.rst

Lines changed: 4 additions & 1 deletion

Doc/c-api/bytes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ called with a non-bytes parameter.
6262
.. % because not all compilers support the %z width modifier -- we fake it
6363
.. % when necessary via interpolating PY_FORMAT_SIZE_T.
6464
65+
.. tabularcolumns:: |l|l|L|
66+
6567
+-------------------+---------------+--------------------------------+
6668
| Format Characters | Type | Comment |
6769
+===================+===============+================================+

Doc/c-api/unicode.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,8 @@ APIs:
439439
.. % Similar comments apply to the %ll width modifier and
440440
.. % PY_FORMAT_LONG_LONG.
441441
442+
.. tabularcolumns:: |l|l|L|
443+
442444
+-------------------+---------------------+--------------------------------+
443445
| Format Characters | Type | Comment |
444446
+===================+=====================+================================+

Doc/distutils/apiref.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ setup script). Indirectly provides the :class:`distutils.dist.Distribution` and
2626
The setup function takes a large number of arguments. These are laid out in the
2727
following table.
2828

29+
.. tabularcolumns:: |l|L|L|
30+
2931
+--------------------+--------------------------------+-------------------------------------------------------------+
3032
| argument name | value | type |
3133
+====================+================================+=============================================================+
@@ -125,6 +127,8 @@ setup script). Indirectly provides the :class:`distutils.dist.Distribution` and
125127

126128
*stop_after* tells :func:`setup` when to stop processing; possible values:
127129

130+
.. tabularcolumns:: |l|L|
131+
128132
+---------------+---------------------------------------------+
129133
| value | description |
130134
+===============+=============================================+
@@ -165,6 +169,8 @@ the full reference.
165169
The Extension class describes a single C or C++extension module in a setup
166170
script. It accepts the following keyword arguments in its constructor:
167171

172+
.. tabularcolumns:: |l|L|l|
173+
168174
+------------------------+--------------------------------+---------------------------+
169175
| argument name | value | type |
170176
+========================+================================+===========================+
@@ -1562,6 +1568,8 @@ lines, and joining lines with backslashes.
15621568

15631569
The options are all boolean, and affect the values returned by :meth:`readline`
15641570

1571+
.. tabularcolumns:: |l|L|l|
1572+
15651573
+------------------+--------------------------------+---------+
15661574
| option name | description | default |
15671575
+==================+================================+=========+

Doc/faq/extending.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
Extending/Embedding FAQ
33
=======================
44

5-
.. contents::
5+
.. only:: html
6+
7+
.. contents::
68

79
.. highlight:: c
810

Doc/faq/general.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
General Python FAQ
55
==================
66

7-
.. contents::
7+
.. only:: html
8+
9+
.. contents::
10+
811

912
General Information
1013
===================

Doc/faq/gui.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
Graphic User Interface FAQ
55
==========================
66

7-
.. contents::
7+
.. only:: html
8+
9+
.. contents::
810

911
.. XXX need review for Python 3.
1012

Doc/faq/library.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
Library and Extension FAQ
55
=========================
66

7-
.. contents::
7+
.. only:: html
8+
9+
.. contents::
810

911
General Library Questions
1012
=========================

Doc/faq/programming.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
Programming FAQ
55
===============
66

7-
.. contents::
7+
.. only:: html
8+
9+
.. contents::
810

911
General Questions
1012
=================

Doc/faq/windows.rst

Lines changed: 3 additions & 1 deletion

0 commit comments

Comments
 (0)