projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a22c98d
)
return NULL on error
author
Benjamin Peterson
<benjamin@python.org>
Wed, 1 Jun 2011 02:38:15 +0000
(21:38 -0500)
committer
Benjamin Peterson
<benjamin@python.org>
Wed, 1 Jun 2011 02:38:15 +0000
(21:38 -0500)
Modules/pyexpat.c
patch
|
blob
|
history
diff --git
a/Modules/pyexpat.c
b/Modules/pyexpat.c
index 7c610a81ca752e545caafc72af2302fc9fab2bd3..4e806e20f62e76cdd76684cc52d3e3c4ddb429d8 100644
(file)
--- a/
Modules/pyexpat.c
+++ b/
Modules/pyexpat.c
@@
-1805,7
+1805,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());