mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
Note that memory returned by PyBuffer_New is not specifically aligned.
Closes SF bug #472568.
This commit is contained in:
parent
604c013ef2
commit
d68d3ee3dd
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue