]> granicus.if.org Git - python/commitdiff
Fix API typo. The write buffer is not const. Closes SF 606216.
authorRaymond Hettinger <python@rcn.com>
Sun, 8 Sep 2002 04:39:28 +0000 (04:39 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 8 Sep 2002 04:39:28 +0000 (04:39 +0000)
Doc/api/abstract.tex

index 3331dcc1debfa32d88e3523077a235bfeb5a5e91..6bf96b235226af9023daf45d505ab73322a8164b 100644 (file)
@@ -987,7 +987,7 @@ else {
 \end{cfuncdesc}
 
 \begin{cfuncdesc}{int}{PyObject_AsWriteBuffer}{PyObject *obj,
-                                               const char **buffer,
+                                               char **buffer,
                                                int *buffer_len}
   Returns a pointer to a writeable memory location.  The \var{obj}
   argument must support the single-segment, character buffer