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

noreply@sourceforge.net noreply@sourceforge.net
Sat, 07 Sep 2002 21:43:45 -0700


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

Category: Documentation
Group: None
>Status: Closed
>Resolution: Fixed
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)


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

>Comment By: Raymond Hettinger (rhettinger)
Date: 2002-09-07 23:43

Message:
Logged In: YES 
user_id=80475

Fixed docs.
See abstract.tex 1.8.6.7 and 1.19
Marking as fixed and closing bug.
Thanks for the report.

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

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