mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
#6732: fix return value of module init function in example.
This commit is contained in:
parent
11b6a64ea9
commit
2c52e2fa85
1 changed files with 1 additions and 0 deletions
|
@ -95,4 +95,5 @@ PyInit_shoddy(void)
|
|||
|
||||
Py_INCREF(&ShoddyType);
|
||||
PyModule_AddObject(m, "Shoddy", (PyObject *) &ShoddyType);
|
||||
return m;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue