mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
Closes #4159: add LaTeX tabular column specifications to tables that otherwise are cut off or have overlapping text.
This commit is contained in:
parent
6ba6b13e32
commit
44ea77bd81
32 changed files with 129 additions and 30 deletions
|
|
@ -263,6 +263,7 @@ The flags that control the logical structure of the memory are listed
|
|||
in decreasing order of complexity. Note that each flag contains all bits
|
||||
of the flags below it.
|
||||
|
||||
.. tabularcolumns:: |p{0.35\linewidth}|l|l|l|
|
||||
|
||||
+-----------------------------+-------+---------+------------+
|
||||
| Request | shape | strides | suboffsets |
|
||||
|
|
@ -283,6 +284,8 @@ contiguity requests
|
|||
C or Fortran contiguity can be explicitly requested, with and without stride
|
||||
information. Without stride information, the buffer must be C-contiguous.
|
||||
|
||||
.. tabularcolumns:: |p{0.35\linewidth}|l|l|l|l|
|
||||
|
||||
+-----------------------------------+-------+---------+------------+--------+
|
||||
| Request | shape | strides | suboffsets | contig |
|
||||
+===================================+=======+=========+============+========+
|
||||
|
|
@ -306,7 +309,7 @@ used combinations as single flags.
|
|||
In the following table *U* stands for undefined contiguity. The consumer would
|
||||
have to call :c:func:`PyBuffer_IsContiguous` to determine contiguity.
|
||||
|
||||
|
||||
.. tabularcolumns:: |p{0.35\linewidth}|l|l|l|l|l|l|
|
||||
|
||||
+-------------------------------+-------+---------+------------+--------+----------+--------+
|
||||
| Request | shape | strides | suboffsets | contig | readonly | format |
|
||||
|
|
|
|||
|
|
@ -62,6 +62,8 @@ called with a non-bytes parameter.
|
|||
.. % because not all compilers support the %z width modifier -- we fake it
|
||||
.. % when necessary via interpolating PY_FORMAT_SIZE_T.
|
||||
|
||||
.. tabularcolumns:: |l|l|L|
|
||||
|
||||
+-------------------+---------------+--------------------------------+
|
||||
| Format Characters | Type | Comment |
|
||||
+===================+===============+================================+
|
||||
|
|
|
|||
|
|
@ -439,6 +439,8 @@ APIs:
|
|||
.. % Similar comments apply to the %ll width modifier and
|
||||
.. % PY_FORMAT_LONG_LONG.
|
||||
|
||||
.. tabularcolumns:: |l|l|L|
|
||||
|
||||
+-------------------+---------------------+--------------------------------+
|
||||
| Format Characters | Type | Comment |
|
||||
+===================+=====================+================================+
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue