summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>1994-01-03 14:03:25 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>1994-01-03 14:03:25 (GMT)
commit93fcb9bbbd621e0ef876a01fc577c2672905aa24 (patch)
treea1a3530b22d14900e68da2fa564acd00b9d4839c /Modules
parent721cd289efc2e2fa9238d743d67ad392aff2d7dc (diff)
downloadcpython-93fcb9bbbd621e0ef876a01fc577c2672905aa24.zip
cpython-93fcb9bbbd621e0ef876a01fc577c2672905aa24.tar.gz
cpython-93fcb9bbbd621e0ef876a01fc577c2672905aa24.tar.bz2
One NULL should have been 0.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/flmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/flmodule.c b/Modules/flmodule.c
index 502ea6c..ce22861 100644
--- a/Modules/flmodule.c
+++ b/Modules/flmodule.c
@@ -1902,7 +1902,7 @@ form_setattr(f, name, v)
if (v == NULL) {
err_setstr(TypeError, "can't delete form attributes");
- return NULL;
+ return 0;
}
return setmember((char *)f->ob_form, form_memberlist, name, v);