Commits

Ned Batchelder committed 5a76466

Touch-ups in an ancient function.

  • Participants
  • Parent commits b62f839

Comments (0)

Files changed (1)

     i = 0
     j = 0
     start = None
-    pairs = []
     while i < len(statements) and j < len(lines):
         if statements[i] == lines[j]:
             if start == None:
                 start = lines[j]
             end = lines[j]
-            j = j + 1
+            j += 1
         elif start:
             pairs.append((start, end))
             start = None
-        i = i + 1
+        i += 1
     if start:
         pairs.append((start, end))
     ret = ', '.join(map(nice_pair, pairs))