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-Tag: v3.6.0a1~146^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=95b5f0ad7ee08c88b749bba2bf229a27f0e89b62;p=thirdparty%2FPython%2Fcpython.git fix python 3 mod init function declaration (closes #26827) --- diff --git a/Doc/howto/cporting.rst b/Doc/howto/cporting.rst index d7a708630259..27e7e6f6e0d9 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