[Python-checkins] cpython (3.5): fix python 3 mod init function declaration (closes #26827)
benjamin.peterson
python-checkins at python.org
Sat Apr 23 02:43:29 EDT 2016
https://hg.python.org/cpython/rev/188af2b4945a
changeset: 101097:188af2b4945a
branch: 3.5
parent: 101095:d14ea3964590
user: Benjamin Peterson <benjamin at python.org>
date: Fri Apr 22 23:43:10 2016 -0700
summary:
fix python 3 mod init function declaration (closes #26827)
files:
Doc/howto/cporting.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/howto/cporting.rst b/Doc/howto/cporting.rst
--- a/Doc/howto/cporting.rst
+++ b/Doc/howto/cporting.rst
@@ -161,7 +161,7 @@
#define INITERROR return NULL
- PyObject *
+ PyMODINIT_FUNC
PyInit_myextension(void)
#else
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list