From bca06ccb3e23cc1da24d3c1d78cc8a5d6df52bdf Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Fri, 22 Apr 2016 23:43:10 -0700 Subject: [PATCH] fix python 3 mod init function declaration (closes #26827) --- Doc/howto/cporting.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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