Commit f156f503 authored by Guido van Rossum's avatar Guido van Rossum

Correct typo: return -1 for error, not 0

parent 3863abb9
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment