From: Benjamin Peterson Date: Sat, 23 Apr 2016 06:43:10 +0000 (-0700) Subject: fix python 3 mod init function declaration (closes #26827) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bca06ccb3e23cc1da24d3c1d78cc8a5d6df52bdf;p=python fix python 3 mod init function declaration (closes #26827) --- diff --git a/Doc/howto/cporting.rst b/Doc/howto/cporting.rst index d7a7086302..27e7e6f6e0 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