diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index d295a0f5071..849423f96bd 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -1700,7 +1700,7 @@ MODULE_INITFUNC(void) version = PyUnicode_FromString(PY_VERSION); if (!version) - return; + return NULL; PyModule_AddObject(m, "__version__", version); PyModule_AddStringConstant(m, "EXPAT_VERSION", (char *) XML_ExpatVersion());