[docs] Wrong method signature for Py_AddPendingCall

Sandro Tosi sandro.tosi at gmail.com
Wed Apr 27 23:08:58 CEST 2011


On Wed, Apr 27, 2011 at 22:45, Robert Xiao <nneonneo at gmail.com> wrote:
> The return value is incorrect; it says "void" when it should be "int".
>
> The function is defined here:
> http://hg.python.org/cpython/file/c8f283cd3e6e/Python/ceval.c#l489. As
> you can see, the return type is void.

Oh sorry I overlooked (get confused by parenthesis as fixed by
http://bugs.python.org/issue11865 in the meantime), opened
http://bugs.python.org/issue11942 to fix it.

Thanks,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


More information about the docs mailing list