]> granicus.if.org Git - python/commitdiff
Fold long lines.
authorGuido van Rossum <guido@python.org>
Mon, 10 Feb 2003 16:05:43 +0000 (16:05 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 10 Feb 2003 16:05:43 +0000 (16:05 +0000)
Objects/abstract.c

index 0ce04ef0b2154bbe997e584db1f2febc646a54b9..abc7e709bbb85199aa0ac038b2c68307acafea7e 100644 (file)
@@ -1,6 +1,5 @@
 /* Abstract Object Interface (many thanks to Jim Fulton) */
 
-
 #include "Python.h"
 #include <ctype.h>
 #include "structmember.h" /* we need the offsetof() macro from there */
@@ -2093,16 +2092,20 @@ PyObject_IsSubclass(PyObject *derived, PyObject *cls)
        int retval;
 
        if (!PyClass_Check(derived) || !PyClass_Check(cls)) {
-               if (!check_class(derived, "issubclass() arg 1 must be a class"))
+               if (!check_class(derived,
+                                "issubclass() arg 1 must be a class"))
                        return -1;
 
                if (PyTuple_Check(cls)) {
                        int i;
                        int n = PyTuple_GET_SIZE(cls);
                        for (i = 0; i < n; ++i) {
-                               retval = PyObject_IsSubclass(derived, PyTuple_GET_ITEM(cls, i));
-                               if (retval != 0) /* either found it, or got an error */
+                               retval = PyObject_IsSubclass(
+                                       derived, PyTuple_GET_ITEM(cls, i));
+                               if (retval != 0) {
+                                       /* either found it, or got an error */
                                        return retval;
+                               }
                        }
                        return 0;
                }