Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 93fcb9b

Browse files
One NULL should have been 0.
1 parent 721cd28 commit 93fcb9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/flmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1902,7 +1902,7 @@ form_setattr(f, name, v)
19021902

19031903
if (v == NULL) {
19041904
err_setstr(TypeError, "can't delete form attributes");
1905-
return NULL;
1905+
return 0;
19061906
}
19071907

19081908
return setmember((char *)f->ob_form, form_memberlist, name, v);

0 commit comments

Comments
 (0)