summaryrefslogtreecommitdiffstats
path: root/Tools/pynche/ListViewer.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-07-10 21:39:41 (GMT)
committerBarry Warsaw <barry@python.org>2001-07-10 21:39:41 (GMT)
commit95cf9d9f4e6aae20601ea4860f1cae0b011a6cf9 (patch)
treeb8b01627b94e2f04bd5ebed8d8ef96dffa717538 /Tools/pynche/ListViewer.py
parentb4d8612f2b49749560cb3c4ca20634acf55dcefa (diff)
downloadcpython-95cf9d9f4e6aae20601ea4860f1cae0b011a6cf9.zip
cpython-95cf9d9f4e6aae20601ea4860f1cae0b011a6cf9.tar.gz
cpython-95cf9d9f4e6aae20601ea4860f1cae0b011a6cf9.tar.bz2
__populate(): Use augmented assignments.
Diffstat (limited to 'Tools/pynche/ListViewer.py')
-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 4b67629..213cd08 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: