@@ -96,8 +96,8 @@ a buffer, see :c:func:`PyObject_GetBuffer`.
9696 block of the exporter. For example, with negative :c:member: `~Py_buffer.strides `
9797 the value may point to the end of the memory block.
9898
99- For contiguous arrays, the value points to the beginning of the memory
100- block.
99+ For :term: ` contiguous ` arrays, the value points to the beginning of
100+ the memory block.
101101
102102 .. c :member :: void \*obj
103103
@@ -281,11 +281,14 @@ of the flags below it.
281281+-----------------------------+-------+---------+------------+
282282
283283
284+ .. index :: contiguous, C-contiguous, Fortran contiguous
285+
284286contiguity requests
285287~~~~~~~~~~~~~~~~~~~
286288
287- C or Fortran contiguity can be explicitly requested, with and without stride
288- information. Without stride information, the buffer must be C-contiguous.
289+ C or Fortran :term: `contiguity <contiguous> ` can be explicitly requested,
290+ with and without stride information. Without stride information, the buffer
291+ must be C-contiguous.
289292
290293.. tabularcolumns :: |p{0.35\linewidth}|l|l|l|l|
291294
@@ -466,13 +469,13 @@ Buffer-related functions
466469.. c :function :: int PyBuffer_IsContiguous (Py_buffer *view, char order)
467470
468471 Return 1 if the memory defined by the *view * is C-style (*order * is
469- ``'C' ``) or Fortran-style (*order * is ``'F' ``) contiguous or either one
472+ ``'C' ``) or Fortran-style (*order * is ``'F' ``) :term:` contiguous` or either one
470473 (*order * is ``'A' ``). Return 0 otherwise.
471474
472475
473476.. c:function:: void PyBuffer_FillContiguousStrides(int ndim, Py_ssize_t *shape, Py_ssize_t *strides, Py_ssize_t itemsize, char order)
474477
475- Fill the *strides * array with byte-strides of a contiguous (C-style if
478+ Fill the *strides * array with byte-strides of a :term: ` contiguous ` (C-style if
476479 *order * is ``'C' `` or Fortran-style if *order * is ``'F' ``) array of the
477480 given shape with the given number of bytes per element.
478481
0 commit comments