mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Return -1 for errors.
This commit is contained in:
parent
6c4f4a92ac
commit
73531a3bae
3 changed files with 3 additions and 3 deletions
|
@ -130,5 +130,5 @@ setmember(addr, mlist, name, v)
|
|||
}
|
||||
|
||||
err_setstr(NameError, name);
|
||||
return NULL;
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue