[issue6881] incorrect signature in doc for PyByteArray_Resize

2009-09-20 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed in r74958 (trunk), r74959 (release26-maint), r74960 (py3k) and r74961 (release31-maint). -- resolution: accepted - fixed stage: - committed/rejected status: open - closed ___ Python

[issue6881] incorrect signature in doc for PyByteArray_Resize

2009-09-16 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I don't think the iterator type needs to be documented; many other such iter types aren't. Also, the argument names needn't match (since C doesn't have the notion of keyword arguments). They can be changed in the docs to be more obvious than

[issue6881] incorrect signature in doc for PyByteArray_Resize

2009-09-15 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The PyByteArrayIter_Type is also missing, and the arg names of several functions don't match the ones in the C source in Objects/bytesobject.c . It might also be a good idea to add sub-headers in the doc to group these functions in the same

[issue6881] incorrect signature in doc for PyByteArray_Resize

2009-09-11 Thread egreen
New submission from egreen egr...@operamail.com: in Doc/c-api/bytearray.rst: PyObject* PyByteArray_Resize(PyObject *bytearray, Py_ssize_t len) should be: int PyByteArray_Resize(PyObject *bytearray, Py_ssize_t len) as per Include/bytearrayobject.h -- assignee: georg.brandl