diff --git a/Doc/howto/cporting.rst b/Doc/howto/cporting.rst index d7a70863025..27e7e6f6e0d 100644 --- a/Doc/howto/cporting.rst +++ b/Doc/howto/cporting.rst @@ -161,7 +161,7 @@ simple example demonstrates how. :: #define INITERROR return NULL - PyObject * + PyMODINIT_FUNC PyInit_myextension(void) #else