mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
One NULL should have been 0.
This commit is contained in:
parent
721cd289ef
commit
93fcb9bbbd
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue