summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-05-31 21:38:49 -0500
committerBenjamin Peterson <benjamin@python.org>2011-05-31 21:38:49 -0500
commitfdb2d909a47dde62ef617bf4c52518325c2c48e7 (patch)
treef9bef83da96592d7eeeaeb041ebcbd4363c954e2 /Modules
parent5c2b09e856555e34128113ac99758a776f66ce3c (diff)
parent52e61449e39b6778d907c65fb2931a2d37c7eef2 (diff)
downloadcpython-git-fdb2d909a47dde62ef617bf4c52518325c2c48e7.tar.gz
merge 3.1
Diffstat (limited to 'Modules')
-rw-r--r--Modules/pyexpat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index d295a0f507..849423f96b 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());