commit | 814f9fe806c35899b80d84871ab903860c7f5bdb | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Fri Jul 19 22:03:03 2002 +0000 |
committer | Fred Drake <fdrake@acm.org> | Fri Jul 19 22:03:03 2002 +0000 |
tree | 58f81f849337def18bd16557894b5811994c0d5d | |
parent | e5bd2f44475f382c78cbfb54a5443956f8b680ce [diff] [blame] |
Return NULL instead of 0 from function with a pointer return value.
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 @@ PyErr_Clear(); PyErr_SetString(PyExc_TypeError, "argument must have 'read' attribute"); - return 0; + return NULL; } } for (;;) {