mirror of https://github.com/python/cpython.git
Correct typo: return -1 for error, not 0
This commit is contained in:
parent
3863abb921
commit
f156f503cd
|
@ -421,7 +421,7 @@ sads_setattr(xp, name, v)
|
||||||
if (v == NULL) {
|
if (v == NULL) {
|
||||||
err_setstr(TypeError,
|
err_setstr(TypeError,
|
||||||
"can't delete sun audio status attributes");
|
"can't delete sun audio status attributes");
|
||||||
return 0;
|
return -1;
|
||||||
}
|
}
|
||||||
return setmember((char *)&xp->ai, sads_ml, name, v);
|
return setmember((char *)&xp->ai, sads_ml, name, v);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue