mirror of https://github.com/python/cpython
#6732: fix return value of module init function in example.
This commit is contained in:
parent
11b6a64ea9
commit
2c52e2fa85
|
@ -95,4 +95,5 @@ PyInit_shoddy(void)
|
|||
|
||||
Py_INCREF(&ShoddyType);
|
||||
PyModule_AddObject(m, "Shoddy", (PyObject *) &ShoddyType);
|
||||
return m;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue