summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2015-02-01 18:42:45 (GMT)
committerStefan Krah <skrah@bytereef.org>2015-02-01 18:42:45 (GMT)
commita7e9a6a0764471d16000d9bd8927b6da24f3335b (patch)
tree416c5a9dacff2da5b39c57f2213864b172f86bd0 /Doc
parent2e6658b4a7e68c256a1a55ba4757076d44a8c43c (diff)
parent0dc4e153a2dee0d8e4ea06f8d2cf8de7c89cb7d5 (diff)
downloadcpython-a7e9a6a0764471d16000d9bd8927b6da24f3335b.zip
cpython-a7e9a6a0764471d16000d9bd8927b6da24f3335b.tar.gz
cpython-a7e9a6a0764471d16000d9bd8927b6da24f3335b.tar.bz2
Issue #23352: Merge from 3.4.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/buffer.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst
index 230c6a9..9cfd152 100644
--- a/Doc/c-api/buffer.rst
+++ b/Doc/c-api/buffer.rst
@@ -198,6 +198,9 @@ a buffer, see :c:func:`PyObject_GetBuffer`.
indicates that no de-referencing should occur (striding in a contiguous
memory block).
+ If all suboffsets are negative (i.e. no de-referencing is needed, then
+ this field must be NULL (the default value).
+
This type of array representation is used by the Python Imaging Library
(PIL). See `complex arrays`_ for further information how to access elements
of such an array.