diff options
author | Georg Brandl <georg@python.org> | 2013-03-28 12:28:44 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-03-28 12:28:44 (GMT) |
commit | 44ea77bd817c0b50e01344b7e8758995aaeebb63 (patch) | |
tree | d16064ba6c2225e5842ac7215d8d08eb6d85bb54 /Doc/c-api/buffer.rst | |
parent | 6ba6b13e3291fdb1abc746183d428120872807a0 (diff) | |
download | cpython-44ea77bd817c0b50e01344b7e8758995aaeebb63.zip cpython-44ea77bd817c0b50e01344b7e8758995aaeebb63.tar.gz cpython-44ea77bd817c0b50e01344b7e8758995aaeebb63.tar.bz2 |
Closes #4159: add LaTeX tabular column specifications to tables that otherwise are cut off or have overlapping text.
Diffstat (limited to 'Doc/c-api/buffer.rst')
-rw-r--r-- | Doc/c-api/buffer.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst index 0b521df..f703e9c 100644 --- a/Doc/c-api/buffer.rst +++ b/Doc/c-api/buffer.rst @@ -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 | |