diff 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
line wrap: on
line diff
--- a/Python/pythonrun.c	Sun Oct 24 02:52:05 2010 +0000
+++ b/Python/pythonrun.c	Sun Oct 24 03:41:46 2010 +0000
@@ -1363,11 +1363,8 @@
     if (offset == -1)
         return;
     PyFile_WriteString("    ", f);
-    offset--;
-    while (offset > 0) {
+    while (--offset)
         PyFile_WriteString(" ", f);
-        offset--;
-    }
     PyFile_WriteString("^\n", f);
 }