[docs] [issue14190] Minor C API documentation bugs

Baruch Sterin report at bugs.python.org
Sun Mar 4 10:02:52 CET 2012


Baruch Sterin <python at bsterin.com> added the comment:

A few additional ones:

The prototype in the documentation is incorrect:

* PyFile_SetEncoding accepts PyObject*, not PyFileObject*
* PyFile_SetEncodingAndErrors accepts PyObject*, not PyFileObject*

PyLong_AsSsize_t is also duplicated.

----------

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


More information about the docs mailing list