Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 65617:f148f864b168
tighten loop
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Sun, 24 Oct 2010 03:41:46 +0000 |
| parents | 18989ad44636 |
| children | 6ac18576e8fa |
comparison
equal
deleted
inserted
replaced
| 65614:18989ad44636 | 65617:f148f864b168 |
|---|---|
| 1361 if (*text == '\0' || text[strlen(text)-1] != '\n') | 1361 if (*text == '\0' || text[strlen(text)-1] != '\n') |
| 1362 PyFile_WriteString("\n", f); | 1362 PyFile_WriteString("\n", f); |
| 1363 if (offset == -1) | 1363 if (offset == -1) |
| 1364 return; | 1364 return; |
| 1365 PyFile_WriteString(" ", f); | 1365 PyFile_WriteString(" ", f); |
| 1366 offset--; | 1366 while (--offset) |
| 1367 while (offset > 0) { | |
| 1368 PyFile_WriteString(" ", f); | 1367 PyFile_WriteString(" ", f); |
| 1369 offset--; | |
| 1370 } | |
| 1371 PyFile_WriteString("^\n", f); | 1368 PyFile_WriteString("^\n", f); |
| 1372 } | 1369 } |
| 1373 | 1370 |
| 1374 static void | 1371 static void |
| 1375 handle_system_exit(void) | 1372 handle_system_exit(void) |
