tighten loop
This commit is contained in:
parent
503d6c5ae9
commit
d4519c14ca
@ -1363,11 +1363,8 @@ print_error_text(PyObject *f, int offset, const char *text)
|
|||||||
if (offset == -1)
|
if (offset == -1)
|
||||||
return;
|
return;
|
||||||
PyFile_WriteString(" ", f);
|
PyFile_WriteString(" ", f);
|
||||||
offset--;
|
while (--offset)
|
||||||
while (offset > 0) {
|
|
||||||
PyFile_WriteString(" ", f);
|
PyFile_WriteString(" ", f);
|
||||||
offset--;
|
|
||||||
}
|
|
||||||
PyFile_WriteString("^\n", f);
|
PyFile_WriteString("^\n", f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user