diff options
author | Pauli Virtanen <pav@iki.fi> | 2010-07-21 08:33:57 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2010-07-21 08:33:57 +0000 |
commit | 213302fee8b998496870d0f99159f764504d810f (patch) | |
tree | 8c9cb4dbd66e0ceea6457c4131edf8e378a263d0 | |
parent | 47aa090e5bc22c3a12cb6b16e7ddfb62c190ef19 (diff) | |
download | numpy-213302fee8b998496870d0f99159f764504d810f.tar.gz |
DOC: update the blurb about the array interface
-rw-r--r-- | doc/source/reference/arrays.interface.rst | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/source/reference/arrays.interface.rst b/doc/source/reference/arrays.interface.rst index 405e6da0a..87ba15a9f 100644 --- a/doc/source/reference/arrays.interface.rst +++ b/doc/source/reference/arrays.interface.rst @@ -8,15 +8,15 @@ The Array Interface ******************* -.. warning:: - - This page describes the old, deprecated array interface. Everything still - works as described as of numpy 1.2 and on into the foreseeable future, but - new development should target :pep:`3118` -- - :cfunc:`The Revised Buffer Protocol <PyObject_GetBuffer>`. - :pep:`3118` was incorporated into Python 2.6 and 3.0, and is additionally - supported by Cython__'s numpy buffer support. (See the `Cython numpy - tutorial`__.) Cython provides a way to write code that supports the buffer +.. note:: + + This page describes the numpy-specific API for accessing the contents of + a numpy array from other C extensions. :pep:`3118` -- + :cfunc:`The Revised Buffer Protocol <PyObject_GetBuffer>` introduces + similar, standardized API to Python 2.6 and 3.0 for any extension + module to use. Cython__'s buffer array support + uses the :pep:`3118` API; see the `Cython numpy + tutorial`__. Cython provides a way to write code that supports the buffer protocol with Python versions older than 2.6 because it has a backward-compatible implementation utilizing the legacy array interface described here. |