summaryrefslogtreecommitdiffstats
path: root/Modules/pyexpat.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-06-01 02:38:49 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-06-01 02:38:49 (GMT)
commitfdb2d909a47dde62ef617bf4c52518325c2c48e7 (patch)
treef9bef83da96592d7eeeaeb041ebcbd4363c954e2 /Modules/pyexpat.c
parent5c2b09e856555e34128113ac99758a776f66ce3c (diff)
parent52e61449e39b6778d907c65fb2931a2d37c7eef2 (diff)
downloadcpython-fdb2d909a47dde62ef617bf4c52518325c2c48e7.zip
cpython-fdb2d909a47dde62ef617bf4c52518325c2c48e7.tar.gz
cpython-fdb2d909a47dde62ef617bf4c52518325c2c48e7.tar.bz2
merge 3.1
Diffstat (limited to 'Modules/pyexpat.c')
-rw-r--r--Modules/pyexpat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index d295a0f..849423f 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());