diff options
author | Georg Brandl <georg@python.org> | 2009-09-01 08:03:26 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-09-01 08:03:26 (GMT) |
commit | 2c52e2fa854a5fdf8f987e89271b54128f515b1f (patch) | |
tree | 0180b5141ae66e028f4b7866cbc826d989932826 /Doc/includes/shoddy.c | |
parent | 11b6a64ea92e93710ca55c560059edd8ea5292b2 (diff) | |
download | cpython-2c52e2fa854a5fdf8f987e89271b54128f515b1f.zip cpython-2c52e2fa854a5fdf8f987e89271b54128f515b1f.tar.gz cpython-2c52e2fa854a5fdf8f987e89271b54128f515b1f.tar.bz2 |
#6732: fix return value of module init function in example.
Diffstat (limited to 'Doc/includes/shoddy.c')
-rw-r--r-- | Doc/includes/shoddy.c | 1 |
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; } |