mirror of https://github.com/python/cpython
Note that memory returned by PyBuffer_New is not specifically aligned.
Closes SF bug #472568.
This commit is contained in:
parent
604c013ef2
commit
d68d3ee3dd
|
@ -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}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue