From 95b5f0ad7ee08c88b749bba2bf229a27f0e89b62 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