mirror of https://github.com/python/cpython
untabify
This commit is contained in:
parent
b7ee47b4b7
commit
8f53ded1ee
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue