diff options
Diffstat (limited to 'Objects/object.c')
-rw-r--r-- | Objects/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c index 9c99ea2..b1025ef 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -370,7 +370,7 @@ setattr(v, name, w) int res; s = newstringobject(name); if (s == NULL) - return NULL; + return -1; res = (*v->ob_type->tp_setattro)(v, s, w); XDECREF(s); return res; |