summaryrefslogtreecommitdiffstats
path: root/Tools/pynche
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1998-03-10 00:16:09 (GMT)
committerBarry Warsaw <barry@python.org>1998-03-10 00:16:09 (GMT)
commit31ac518dd76711b6982b3935943ea306e5838708 (patch)
treec7d3dee2ff3af1bf03d6fa19d59ce4e34e615fa5 /Tools/pynche
parent520f8bd9b7d6122218dc7f7ae41fa0a386c496a1 (diff)
downloadcpython-31ac518dd76711b6982b3935943ea306e5838708.zip
cpython-31ac518dd76711b6982b3935943ea306e5838708.tar.gz
cpython-31ac518dd76711b6982b3935943ea306e5838708.tar.bz2
Cosmetic
Diffstat (limited to 'Tools/pynche')
-rw-r--r--Tools/pynche/ChipViewer.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Tools/pynche/ChipViewer.py b/Tools/pynche/ChipViewer.py
index f1429fd..a2a9034 100644
--- a/Tools/pynche/ChipViewer.py
+++ b/Tools/pynche/ChipViewer.py
@@ -22,13 +22,13 @@ class ChipWidget(Pmw.MegaWidget):
_HEIGHT = 80
def __init__(self, parent=None, **kw):
- optionsdefs = (('chip_borderwidth', 2, None),
- ('chip_width', self._WIDTH, None),
- ('chip_height', self._HEIGHT, None),
- ('label_text', 'Color', None),
- ('color', 'blue', self.__set_color),
- )
- self.defineoptions(kw, optionsdefs)
+ options = (('chip_borderwidth', 2, None),
+ ('chip_width', self._WIDTH, None),
+ ('chip_height', self._HEIGHT, None),
+ ('label_text', 'Color', None),
+ ('color', 'blue', self.__set_color),
+ )
+ self.defineoptions(kw, options)
# initialize base class -- after defining options
Pmw.MegaWidget.__init__(self, parent)