]> granicus.if.org Git - python/commitdiff
Note that memory returned by PyBuffer_New is not specifically aligned.
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>
Tue, 8 Jun 2004 02:58:50 +0000 (02:58 +0000)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>
Tue, 8 Jun 2004 02:58:50 +0000 (02:58 +0000)
Closes SF bug #472568.

Doc/api/concrete.tex

index c9ca1e7eeceacdbf6e51618ddf942e50fac69be7..63f9667c63e253be7af58082b07b54a24435e9ed 100644 (file)
@@ -1565,7 +1565,9 @@ format.
 \begin{cfuncdesc}{PyObject*}{PyBuffer_New}{int size}
   Returns a new writable buffer object that maintains its own memory
   buffer of \var{size} bytes.  \exception{ValueError} is returned if
-  \var{size} is not zero or positive.
+  \var{size} is not zero or positive.  Note that the memory buffer (as
+  returned by \cfunction{PyObject_AsWriteBuffer()}) is not specifically
+  aligned.
 \end{cfuncdesc}