[Python-checkins] cpython (merge 3.4 -> default): Issue #23352: Merge from 3.4.

stefan.krah python-checkins at python.org
Sun Feb 1 19:51:07 CET 2015


https://hg.python.org/cpython/rev/5d097a74766f
changeset:   94433:5d097a74766f
parent:      94430:9835a186573b
parent:      94432:de5c8ee002bf
user:        Stefan Krah <skrah at bytereef.org>
date:        Sun Feb 01 19:42:45 2015 +0100
summary:
  Issue #23352: Merge from 3.4.

files:
  Doc/c-api/buffer.rst |  3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst
--- a/Doc/c-api/buffer.rst
+++ b/Doc/c-api/buffer.rst
@@ -198,6 +198,9 @@
       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.

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list