]> granicus.if.org Git - python/commitdiff
Merged revisions 72367 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Tue, 5 May 2009 23:14:15 +0000 (23:14 +0000)
committerBenjamin Peterson <benjamin@python.org>
Tue, 5 May 2009 23:14:15 +0000 (23:14 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72367 | benjamin.peterson | 2009-05-05 18:00:48 -0500 (Tue, 05 May 2009) | 1 line

  tabify :(
........

Modules/_testcapimodule.c

index f3899f5f47067032746d57a5c6f18a05329af832..b1a7093ae1c97360a933f9b3c854ab0779f840ad 100644 (file)
@@ -228,10 +228,10 @@ test_lazy_hash_inheritance(PyObject* self)
 
        type = &_HashInheritanceTester_Type;
 
-        if (type->tp_dict != NULL)
-            /* The type has already been initialized. This probably means -R
-             is being used. */
-            Py_RETURN_NONE;
+       if (type->tp_dict != NULL)
+               /* The type has already been initialized. This probably means
+                  -R is being used. */
+               Py_RETURN_NONE;
 
 
        obj = PyObject_New(PyObject, type);
@@ -277,7 +277,7 @@ test_lazy_hash_inheritance(PyObject* self)
                return NULL;
        }
 
-        Py_DECREF(obj);
+       Py_DECREF(obj);
 
        Py_RETURN_NONE;
 }