From ab3c1c1994ec819781ba27ba8a5c6d75f70cb2af Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 1 Apr 2012 18:48:02 -0400 Subject: be consistent with rest of function --- Objects/typeobject.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Objects/typeobject.c b/Objects/typeobject.c index f0c787f..9f0ab15 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -475,9 +475,8 @@ type_set_bases(PyTypeObject *type, PyObject *value, void *context) new_base = best_base(value); - if (!new_base) { + if (!new_base) return -1; - } if (!compatible_for_assignment(type->tp_base, new_base, "__bases__")) return -1; -- cgit v0.12