summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-04-23 06:43:10 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-04-23 06:43:10 (GMT)
commitbca06ccb3e23cc1da24d3c1d78cc8a5d6df52bdf (patch)
treea38f6059a9183a4b272419eb8af056347104844d /Doc
parente9ee31706280672e82a9716c4bf9bb72f1d78a1d (diff)
downloadcpython-bca06ccb3e23cc1da24d3c1d78cc8a5d6df52bdf.zip
cpython-bca06ccb3e23cc1da24d3c1d78cc8a5d6df52bdf.tar.gz
cpython-bca06ccb3e23cc1da24d3c1d78cc8a5d6df52bdf.tar.bz2
fix python 3 mod init function declaration (closes #26827)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/howto/cporting.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/cporting.rst b/Doc/howto/cporting.rst
index d7a7086..27e7e6f 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