Commit d4519c14 authored by Benjamin Peterson's avatar Benjamin Peterson

tighten loop

parent 503d6c5a
......@@ -1363,11 +1363,8 @@ print_error_text(PyObject *f, int offset, const char *text)
if (offset == -1)
return;
PyFile_WriteString(" ", f);
offset--;
while (offset > 0) {
while (--offset)
PyFile_WriteString(" ", f);
offset--;
}
PyFile_WriteString("^\n", f);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment