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

Amaury Forgeot d'Arc report at bugs.python.org
Sat Nov 20 14:02:05 CET 2010

Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Thanks for the patch, it looks good, I have 2 remarks though:

- "under the name name" could be replaced by "under the given name".

- "The *search_function*'s refcount is incremented by this function."
This information is not useful to the caller - she just wants to know whether she still owns the reference she had before.  Most probably here, the refcount is incremented because the object is stored in a list; the caller still owns the reference to the parameter, like most functions of the API, and there is nothing to say about refcounts here.

nosy: +amaury.forgeotdarc

Python tracker <report at bugs.python.org>

More information about the docs mailing list