diff options
author | Stefan Krah <skrah@bytereef.org> | 2015-08-08 12:34:17 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2015-08-08 12:34:17 (GMT) |
commit | 67c3c5c90fcfdffc61807d3b17e97422146408d7 (patch) | |
tree | 85534189c4d8f947a0008fe505d2e3d572495cea /Doc/library | |
parent | 5f35725fb846f2427b4bd19553d15e73747746eb (diff) | |
parent | 70e543b266d273217869091b90a3cedbe32b4a2e (diff) | |
download | cpython-67c3c5c90fcfdffc61807d3b17e97422146408d7.zip cpython-67c3c5c90fcfdffc61807d3b17e97422146408d7.tar.gz cpython-67c3c5c90fcfdffc61807d3b17e97422146408d7.tar.bz2 |
Merge #23756.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/stdtypes.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index f0cc56b..8573416 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -3561,7 +3561,7 @@ copying. Cast a memoryview to a new format or shape. *shape* defaults to ``[byte_length//new_itemsize]``, which means that the result view will be one-dimensional. The return value is a new memoryview, but - the buffer itself is not copied. Supported casts are 1D -> C-contiguous + the buffer itself is not copied. Supported casts are 1D -> C-:term:`contiguous` and C-contiguous -> 1D. The destination format is restricted to a single element native format in @@ -3752,19 +3752,19 @@ copying. .. attribute:: c_contiguous - A bool indicating whether the memory is C-contiguous. + A bool indicating whether the memory is C-:term:`contiguous`. .. versionadded:: 3.3 .. attribute:: f_contiguous - A bool indicating whether the memory is Fortran contiguous. + A bool indicating whether the memory is Fortran :term:`contiguous`. .. versionadded:: 3.3 .. attribute:: contiguous - A bool indicating whether the memory is contiguous. + A bool indicating whether the memory is :term:`contiguous`. .. versionadded:: 3.3 |