From: Georg Brandl Date: Tue, 1 Sep 2009 08:03:26 +0000 (+0000) Subject: #6732: fix return value of module init function in example. X-Git-Tag: v3.2a1~2633 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2c52e2fa854a5fdf8f987e89271b54128f515b1f;p=thirdparty%2FPython%2Fcpython.git #6732: fix return value of module init function in example. --- diff --git a/Doc/includes/shoddy.c b/Doc/includes/shoddy.c index bb7f05b107cd..07a272124cea 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; }