summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-09-01 08:03:26 (GMT)
committerGeorg Brandl <georg@python.org>2009-09-01 08:03:26 (GMT)
commit2c52e2fa854a5fdf8f987e89271b54128f515b1f (patch)
tree0180b5141ae66e028f4b7866cbc826d989932826 /Doc
parent11b6a64ea92e93710ca55c560059edd8ea5292b2 (diff)
downloadcpython-2c52e2fa854a5fdf8f987e89271b54128f515b1f.zip
cpython-2c52e2fa854a5fdf8f987e89271b54128f515b1f.tar.gz
cpython-2c52e2fa854a5fdf8f987e89271b54128f515b1f.tar.bz2
#6732: fix return value of module init function in example.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/includes/shoddy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/includes/shoddy.c b/Doc/includes/shoddy.c
index bb7f05b..07a2721 100644
--- a/Doc/includes/shoddy.c
+++ b/Doc/includes/shoddy.c
@@ -95,4 +95,5 @@ PyInit_shoddy(void)
Py_INCREF(&ShoddyType);
PyModule_AddObject(m, "Shoddy", (PyObject *) &ShoddyType);
+ return m;
}