[Python-bugs-list] [ python-Bugs-606216 ] PyObject_AsWriteBuffer prototype is typo

noreply@sourceforge.net noreply@sourceforge.net
Sat, 07 Sep 2002 21:10:06 -0700


Bugs item #606216, was opened at 2002-09-07 20:09
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=606216&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
>Priority: 3
Submitted By: Drew Perttula (drewp)
Assigned to: Fred L. Drake, Jr. (fdrake)
>Summary: PyObject_AsWriteBuffer prototype is typo

Initial Comment:
http://www.python.org/doc/current/api/abstract-buffer.html
says this:

int PyObject_AsWriteBuffer(PyObject *obj, const char
**buffer, int *buffer_len)

but that's mostly a copy of AsReadBuffer. The actual
prototype (python 2.2) is this:

int PyObject_AsWriteBuffer(PyObject *obj, void
**buffer, int *buffer_len)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=606216&group_id=5470