Clean up module initialization. (GH-17215)

This commit is contained in:
Brandt Bucher 2019-11-18 23:16:23 -08:00 committed by Raymond Hettinger
parent fe75b62575
commit 79e18ec75d
1 changed files with 1 additions and 3 deletions

View File

@ -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);
}