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)
commit95b5f0ad7ee08c88b749bba2bf229a27f0e89b62 (patch)
tree1fbab8138fab381dfac6ac8f88680e9456391368 /Doc
parent585c93daea510634ef0c99969b88bc320cdb61a1 (diff)
downloadcpython-95b5f0ad7ee08c88b749bba2bf229a27f0e89b62.zip
cpython-95b5f0ad7ee08c88b749bba2bf229a27f0e89b62.tar.gz
cpython-95b5f0ad7ee08c88b749bba2bf229a27f0e89b62.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