From: Benjamin Peterson Date: Sun, 1 Apr 2012 22:48:02 +0000 (-0400) Subject: be consistent with rest of function X-Git-Tag: v3.3.0a3~334^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab3c1c1994ec819781ba27ba8a5c6d75f70cb2af;p=python be consistent with rest of function --- diff --git a/Objects/typeobject.c b/Objects/typeobject.c index f0c787fa2a..9f0ab15945 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;