Return -1 for errors.

This commit is contained in:
Guido van Rossum 1990-12-20 23:12:40 +00:00
parent 6c4f4a92ac
commit 73531a3bae
3 changed files with 3 additions and 3 deletions

View file

@ -130,5 +130,5 @@ setmember(addr, mlist, name, v)
}
err_setstr(NameError, name);
return NULL;
return -1;
}