Skip to content

Commit 277616e

Browse files
author
nascheme
committed
Note that memory returned by PyBuffer_New is not specifically aligned.
Closes SF bug #472568. git-svn-id: http://svn.python.org/projects/python/trunk@36121 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 435a68e commit 277616e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Doc/api/concrete.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1565,7 +1565,9 @@ \subsection{Buffer Objects \label{bufferObjects}}
15651565
\begin{cfuncdesc}{PyObject*}{PyBuffer_New}{int size}
15661566
Returns a new writable buffer object that maintains its own memory
15671567
buffer of \var{size} bytes. \exception{ValueError} is returned if
1568-
\var{size} is not zero or positive.
1568+
\var{size} is not zero or positive. Note that the memory buffer (as
1569+
returned by \cfunction{PyObject_AsWriteBuffer()}) is not specifically
1570+
aligned.
15691571
\end{cfuncdesc}
15701572

15711573

0 commit comments

Comments
 (0)