[Python-checkins] r85817 - python/branches/py3k/Python/pythonrun.c

benjamin.peterson python-checkins at python.org
Sun Oct 24 05:41:47 CEST 2010


Author: benjamin.peterson
Date: Sun Oct 24 05:41:46 2010
New Revision: 85817

Log:
tighten loop

Modified:
   python/branches/py3k/Python/pythonrun.c

Modified: python/branches/py3k/Python/pythonrun.c
==============================================================================
--- python/branches/py3k/Python/pythonrun.c	(original)
+++ python/branches/py3k/Python/pythonrun.c	Sun Oct 24 05:41:46 2010
@@ -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);
 }
 


More information about the Python-checkins mailing list