[Numpy-svn] r3685 - trunk/numpy/doc

numpy-svn@scip... numpy-svn@scip...
Mon Apr 9 18:17:52 CDT 2007


Author: oliphant
Date: 2007-04-09 18:17:50 -0500 (Mon, 09 Apr 2007)
New Revision: 3685

Modified:
   trunk/numpy/doc/pep_buffer.txt
Log:
Cleaned-up

Modified: trunk/numpy/doc/pep_buffer.txt
===================================================================
--- trunk/numpy/doc/pep_buffer.txt	2007-04-09 22:53:12 UTC (rev 3684)
+++ trunk/numpy/doc/pep_buffer.txt	2007-04-09 23:17:50 UTC (rev 3685)
@@ -366,24 +366,23 @@
 
 This is a C-API version of the getbuffer function call.  It checks to
 make sure object has the required function pointer and issues the
-call.  Returns -1 and raises an error on failure and returns 0 on 
-success. 
+call.  Returns -1 and raises an error on failure and returns 0 on
+success.
 
 ::
     int PyObject_ReleaseBuffer(PyObject *obj, struct bufferinfo *view)
 
-This is a C-API version of the releasebuffer function call.  It checks to
-make sure the object has the required function pointer and issues the call.  Returns 0
-on success and -1 (with an error raised) on failure. This function always 
-succeeds if there is no releasebuffer function for the object. 
+This is a C-API version of the releasebuffer function call.  It checks
+to make sure the object has the required function pointer and issues
+the call.  Returns 0 on success and -1 (with an error raised) on
+failure. This function always succeeds if there is no releasebuffer
+function for the object.
 
 ::
 
     PyObject *PyObject_GetMemoryView(PyObject *obj)
 
-Return a memory-view object from an object that defines the buffer interface. 
-If make_ro is non-zero then request that the memory is made read-only until 
-release buffer is called. 
+Return a memory-view object from an object that defines the buffer interface.
 
 A memory-view object is an extended buffer object that should replace
 the buffer object in Python 3K.  It's C-structure is::



More information about the Numpy-svn mailing list