diff options
Diffstat (limited to 'Modules/cStringIO.c')
-rw-r--r-- | Modules/cStringIO.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/cStringIO.c b/Modules/cStringIO.c index 0d50459..ad2f36b 100644 --- a/Modules/cStringIO.c +++ b/Modules/cStringIO.c @@ -716,6 +716,7 @@ initcStringIO(void) { m = Py_InitModule4("cStringIO", IO_methods, cStringIO_module_documentation, (PyObject*)NULL,PYTHON_API_VERSION); + if (m == NULL) return; /* Add some symbolic constants to the module */ d = PyModule_GetDict(m); |