diff options
author | Barry Warsaw <barry@python.org> | 2001-07-10 21:39:41 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2001-07-10 21:39:41 (GMT) |
commit | 95cf9d9f4e6aae20601ea4860f1cae0b011a6cf9 (patch) | |
tree | b8b01627b94e2f04bd5ebed8d8ef96dffa717538 | |
parent | b4d8612f2b49749560cb3c4ca20634acf55dcefa (diff) | |
download | cpython-95cf9d9f4e6aae20601ea4860f1cae0b011a6cf9.zip cpython-95cf9d9f4e6aae20601ea4860f1cae0b011a6cf9.tar.gz cpython-95cf9d9f4e6aae20601ea4860f1cae0b011a6cf9.tar.bz2 |
__populate(): Use augmented assignments.
-rw-r--r-- | Tools/pynche/ListViewer.py | 2 |
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: |