From 2c52e2fa854a5fdf8f987e89271b54128f515b1f Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 1 Sep 2009 08:03:26 +0000 Subject: #6732: fix return value of module init function in example. --- Doc/includes/shoddy.c | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v0.12