[docs] [issue10439] PyCodec C API is not documented in reST

Eli Bendersky report at bugs.python.org
Sat Nov 20 12:27:10 CET 2010


Eli Bendersky <eliben at gmail.com> added the comment:

While preparing a .rst document for this, I ran into a possible inaccuracy in a comment in codecs.h:

/* Lookup the error handling callback function registered under the
   name error. As a special case NULL can be passed, in which case
   the error handling callback for "strict" will be returned. */
PyAPI_FUNC(PyObject *) PyCodec_LookupError(const char *name);

----

The problem may be with the phrase "under the name error". Shouldn't it be just "under *name*"?

----------

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


More information about the docs mailing list