[Numpy-svn] r8512 - trunk/doc/source/reference

numpy-svn at scipy.org numpy-svn at scipy.org
Wed Jul 21 04:33:57 EDT 2010


Author: ptvirtan
Date: 2010-07-21 03:33:57 -0500 (Wed, 21 Jul 2010)
New Revision: 8512

Modified:
   trunk/doc/source/reference/arrays.interface.rst
Log:
DOC: update the blurb about the array interface

Modified: trunk/doc/source/reference/arrays.interface.rst
===================================================================
--- trunk/doc/source/reference/arrays.interface.rst	2010-07-20 08:33:00 UTC (rev 8511)
+++ trunk/doc/source/reference/arrays.interface.rst	2010-07-21 08:33:57 UTC (rev 8512)
@@ -8,15 +8,15 @@
 The Array Interface
 *******************
 
-.. warning::
+.. note::
 
-   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
+   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.




More information about the Numpy-svn mailing list