From: Benjamin Peterson Date: Wed, 2 Jan 2013 18:25:15 +0000 (-0600) Subject: untabify X-Git-Tag: v2.7.4rc1~164^2~116 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f53ded1ee99dabb3ccee5a2141b0a7da2e2d18f;p=python untabify --- diff --git a/Objects/stringobject.c b/Objects/stringobject.c index dcab35e843..c6f2220bbf 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -4490,9 +4490,9 @@ PyString_Format(PyObject *format, PyObject *args) else { iobj = PyNumber_Int(v); if (iobj==NULL) { - PyErr_Clear(); - iobj = PyNumber_Long(v); - } + PyErr_Clear(); + iobj = PyNumber_Long(v); + } } if (iobj!=NULL) { if (PyInt_Check(iobj)) {