diff options
Diffstat (limited to 'Modules/almodule.c')
-rw-r--r-- | Modules/almodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/almodule.c b/Modules/almodule.c index 12b265e..5254fca 100644 --- a/Modules/almodule.c +++ b/Modules/almodule.c @@ -1996,6 +1996,8 @@ inital(void) m = Py_InitModule4("al", al_methods, al_module_documentation, (PyObject*)NULL,PYTHON_API_VERSION); + if (m == NULL) + return; /* Add some symbolic constants to the module */ d = PyModule_GetDict(m); |