summaryrefslogtreecommitdiffstats
path: root/Modules/pyexpat.c
diff options
context:
space:
mode:
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 76abe1f..d259998 100644
--- a/Modules/pyexpat.c
+++ b/Modules/pyexpat.c
@@ -842,7 +842,7 @@ xmlparse_ParseFile(xmlparseobject *self, PyObject *args)
PyErr_Clear();
PyErr_SetString(PyExc_TypeError,
"argument must have 'read' attribute");
- return 0;
+ return NULL;
}
}
for (;;) {