From 213302fee8b998496870d0f99159f764504d810f Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Wed, 21 Jul 2010 08:33:57 +0000 Subject: DOC: update the blurb about the array interface --- doc/source/reference/arrays.interface.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'doc/source/reference/arrays.interface.rst') 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 `. - :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 ` 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. -- cgit v1.2.1