summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-04-22 23:43:10 -0700
committerBenjamin Peterson <benjamin@python.org>2016-04-22 23:43:10 -0700
commit95b5f0ad7ee08c88b749bba2bf229a27f0e89b62 (patch)
tree1fbab8138fab381dfac6ac8f88680e9456391368
parent585c93daea510634ef0c99969b88bc320cdb61a1 (diff)
downloadcpython-git-95b5f0ad7ee08c88b749bba2bf229a27f0e89b62.tar.gz
fix python 3 mod init function declaration (closes #26827)
-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 d7a7086302..27e7e6f6e0 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