[Python-checkins] cpython (3.2): be consistent with rest of function

benjamin.peterson python-checkins at python.org
Mon Apr 2 00:50:51 CEST 2012


http://hg.python.org/cpython/rev/5bb0acb69921
changeset:   76056:5bb0acb69921
branch:      3.2
parent:      75941:66117d4bb586
user:        Benjamin Peterson <benjamin at python.org>
date:        Sun Apr 01 18:48:02 2012 -0400
summary:
  be consistent with rest of function

files:
  Objects/typeobject.c |  3 +--
  1 files changed, 1 insertions(+), 2 deletions(-)


diff --git a/Objects/typeobject.c b/Objects/typeobject.c
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -475,9 +475,8 @@
 
     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;

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list