[docs] Wrong method signature for Py_AddPendingCall

Robert Xiao nneonneo at gmail.com
Thu Apr 14 03:42:47 CEST 2011


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)

(the return type and the arguments are incorrectly listed).

Robert


More information about the docs mailing list