mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
Correct typo: return -1 for error, not 0
This commit is contained in:
parent
3863abb921
commit
f156f503cd
1 changed files with 1 additions and 1 deletions
|
|
@ -421,7 +421,7 @@ sads_setattr(xp, name, v)
|
|||
if (v == NULL) {
|
||||
err_setstr(TypeError,
|
||||
"can't delete sun audio status attributes");
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
return setmember((char *)&xp->ai, sads_ml, name, v);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue