[docs] Wrong method signature for Py_AddPendingCall

Sandro Tosi sandro.tosi at gmail.com
Wed Apr 27 22:36:48 CEST 2011


Hi Robert,

On Thu, Apr 14, 2011 at 03:42, Robert Xiao <nneonneo at gmail.com> wrote:
> On the page http://docs.python.org/py3k/c-api/init.html#asynchronous-notifications,
> the method signature for Py_AddPendingCall is incorrect.
>
> It reads
> void Py_AddPendingCall(int (*func)(void *, void *arg))
> when it should correctly read
> int Py_AddPendingCall(int (*func)(void *), void *arg)

I see:

void Py_AddPendingCall(int (*func)(void *), void *arg)

on the same page you link above: can you please it works for you now?

Regards,
-- 
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