diff options
Diffstat (limited to 'Modules/flmodule.c')
-rw-r--r-- | Modules/flmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/flmodule.c b/Modules/flmodule.c index f1dc6344..b224ca2 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 0; + return -1; } return setmember((char *)f->ob_form, form_memberlist, name, v); |