summaryrefslogtreecommitdiff
path: root/Tools/pynche
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-07-10 21:39:41 +0000
committerBarry Warsaw <barry@python.org>2001-07-10 21:39:41 +0000
commit95cf9d9f4e6aae20601ea4860f1cae0b011a6cf9 (patch)
treeb8b01627b94e2f04bd5ebed8d8ef96dffa717538 /Tools/pynche
parentb4d8612f2b49749560cb3c4ca20634acf55dcefa (diff)
downloadcpython-git-95cf9d9f4e6aae20601ea4860f1cae0b011a6cf9.tar.gz
__populate(): Use augmented assignments.
Diffstat (limited to 'Tools/pynche')
-rw-r--r--Tools/pynche/ListViewer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/pynche/ListViewer.py b/Tools/pynche/ListViewer.py
index 4b67629bdb..213cd08ba7 100644
--- a/Tools/pynche/ListViewer.py
+++ b/Tools/pynche/ListViewer.py
@@ -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: