diff options
author | Barry Warsaw <barry@python.org> | 1998-03-10 00:16:09 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1998-03-10 00:16:09 (GMT) |
commit | 31ac518dd76711b6982b3935943ea306e5838708 (patch) | |
tree | c7d3dee2ff3af1bf03d6fa19d59ce4e34e615fa5 /Tools | |
parent | 520f8bd9b7d6122218dc7f7ae41fa0a386c496a1 (diff) | |
download | cpython-31ac518dd76711b6982b3935943ea306e5838708.zip cpython-31ac518dd76711b6982b3935943ea306e5838708.tar.gz cpython-31ac518dd76711b6982b3935943ea306e5838708.tar.bz2 |
Cosmetic
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/pynche/ChipViewer.py | 14 |
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) |