]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
__populate(): Use augmented assignments.
authorBarry Warsaw <barry@python.org>
Tue, 10 Jul 2001 21:39:41 +0000 (21:39 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 10 Jul 2001 21:39:41 +0000 (21:39 +0000)
Tools/pynche/ListViewer.py

index 4b67629bdb253042bfcecc36e1e203496da8edb4..213cd08ba7630660a4441d09258b64a8778feb0f 100644 (file)
@@ -90,7 +90,7 @@ class ListViewer:
             bboxes.append(boxid)
             if textend+3 > widest:
                 widest = textend+3
-            row = row + 1
+            row += 1
         canvheight = (row-1)*20 + 25
         canvas.config(scrollregion=(0, 0, 150, canvheight))
         for box in bboxes: