[New-bugs-announce] [issue7577] documention buglet

Ronald Oussoren report at bugs.python.org
Sat Dec 26 16:11:56 CET 2009


New submission from Ronald Oussoren <ronaldoussoren at mac.com>:

The documentation for bf_getbuffer at <http://www.python.org/doc/3.1/c-
api/typeobj.html#buffer-object-structures> claims:

<quote>
The signature of getbufferproc is int (PyObject *obj, PyObject *view, 
int flags). obj is the object to export, view is the Py_buffer struct to 
fill
</quote>

This is incorrect, the 'view' argument has type 'Py_buffer*'.

The same issue is also present in the 3.2 documentation (and I haven't 
checked the 2.6/2.7 docs yet)

----------
assignee: georg.brandl
components: Documentation
keywords: easy
messages: 96889
nosy: georg.brandl, ronaldoussoren
severity: normal
status: open
title: documention buglet
versions: Python 3.1, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7577>
_______________________________________


More information about the New-bugs-announce mailing list