Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5130690

Browse files
committed
Fix API typo. The write buffer is not const. Closes SF 606216.
1 parent b2c729f commit 5130690

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/api/abstract.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ \section{Buffer Protocol \label{abstract-buffer}}
987987
\end{cfuncdesc}
988988

989989
\begin{cfuncdesc}{int}{PyObject_AsWriteBuffer}{PyObject *obj,
990-
const char **buffer,
990+
char **buffer,
991991
int *buffer_len}
992992
Returns a pointer to a writeable memory location. The \var{obj}
993993
argument must support the single-segment, character buffer

0 commit comments

Comments
 (0)