#11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi.
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 27408a4..8b41c44 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -906,7 +906,7 @@
main thread where it has possession of the global interpreter lock and can
perform any Python API calls.
-.. cfunction:: void Py_AddPendingCall(int (*func)(void *), void *arg)
+.. cfunction:: int Py_AddPendingCall(int (*func)(void *), void *arg)
.. index:: single: Py_AddPendingCall()