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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c52e2fa854a5fdf8f987e89271b54128f515b1f;p=python #6732: fix return value of module init function in example. --- diff --git a/Doc/includes/shoddy.c b/Doc/includes/shoddy.c index bb7f05b107..07a272124c 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; }