Clean up module initialization. (GH-17215)
This commit is contained in:
parent
fe75b62575
commit
79e18ec75d
|
@ -144,7 +144,5 @@ static struct PyModuleDef statisticsmodule = {
|
|||
PyMODINIT_FUNC
|
||||
PyInit__statistics(void)
|
||||
{
|
||||
PyObject *m = PyModule_Create(&statisticsmodule);
|
||||
if (!m) return NULL;
|
||||
return m;
|
||||
return PyModule_Create(&statisticsmodule);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue