New submission from Ronald Oussoren <ronaldousso...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue7577>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to