summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-04-01 18:48:02 -0400
committerBenjamin Peterson <benjamin@python.org>2012-04-01 18:48:02 -0400
commit9aa0c7d2d60b51c1e0f8aca24a8fba33ef1bbf7f (patch)
tree7bbdcdfde93008ac8e1e54240f8c5a3f74b19fef
parent8de49550b19f657d70f843e73b693c7a1f100b89 (diff)
downloadcpython-9aa0c7d2d60b51c1e0f8aca24a8fba33ef1bbf7f.tar.gz
be consistent with rest of function
-rw-r--r--Objects/typeobject.c3
1 files changed, 1 insertions, 2 deletions
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;