comparison Objects/stringobject.c @ 81245:ded5386604fd 2.7

untabify
author Benjamin Peterson <benjamin@python.org>
date Wed, 02 Jan 2013 12:25:15 -0600
parents 80cfd4caa726
children ee93a89b4e0f
comparison
equal deleted inserted replaced
81241:c5199d9eee04 81245:ded5386604fd
4488 Py_INCREF(iobj); 4488 Py_INCREF(iobj);
4489 } 4489 }
4490 else { 4490 else {
4491 iobj = PyNumber_Int(v); 4491 iobj = PyNumber_Int(v);
4492 if (iobj==NULL) { 4492 if (iobj==NULL) {
4493 PyErr_Clear(); 4493 PyErr_Clear();
4494 iobj = PyNumber_Long(v); 4494 iobj = PyNumber_Long(v);
4495 } 4495 }
4496 } 4496 }
4497 if (iobj!=NULL) { 4497 if (iobj!=NULL) {
4498 if (PyInt_Check(iobj)) { 4498 if (PyInt_Check(iobj)) {
4499 isnumok = 1; 4499 isnumok = 1;
4500 pbuf = formatbuf; 4500 pbuf = formatbuf;