summaryrefslogtreecommitdiffstats
path: root/Doc/api
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2004-06-08 02:58:50 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2004-06-08 02:58:50 (GMT)
commitd68d3ee3dd504661a6f5b0f5810211fef814b919 (patch)
tree93fdadf332a50bd7c28e902c7f953fc09ab36bec /Doc/api
parent604c013ef2747e70fa5f3140eb36d9969606070e (diff)
downloadcpython-d68d3ee3dd504661a6f5b0f5810211fef814b919.zip
cpython-d68d3ee3dd504661a6f5b0f5810211fef814b919.tar.gz
cpython-d68d3ee3dd504661a6f5b0f5810211fef814b919.tar.bz2
Note that memory returned by PyBuffer_New is not specifically aligned.
Closes SF bug #472568.
Diffstat (limited to 'Doc/api')
-rw-r--r--Doc/api/concrete.tex4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex
index c9ca1e7..63f9667 100644
--- a/Doc/api/concrete.tex
+++ b/Doc/api/concrete.tex
@@ -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}