Commit 51306902 authored by Raymond Hettinger's avatar Raymond Hettinger

Fix API typo. The write buffer is not const. Closes SF 606216.

parent b2c729fe
...@@ -987,7 +987,7 @@ else { ...@@ -987,7 +987,7 @@ else {
\end{cfuncdesc} \end{cfuncdesc}
\begin{cfuncdesc}{int}{PyObject_AsWriteBuffer}{PyObject *obj, \begin{cfuncdesc}{int}{PyObject_AsWriteBuffer}{PyObject *obj,
const char **buffer, char **buffer,
int *buffer_len} int *buffer_len}
Returns a pointer to a writeable memory location. The \var{obj} Returns a pointer to a writeable memory location. The \var{obj}
argument must support the single-segment, character buffer argument must support the single-segment, character buffer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment