diff options
author | Guido van Rossum <guido@python.org> | 1991-12-26 13:06:29 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-12-26 13:06:29 (GMT) |
commit | ce08448165249b8be2181f231178db52504e2b01 (patch) | |
tree | 65e19b98f946c41b91c720f84ceb5a901fa44ea7 /Lib/lib-stdwin/Histogram.py | |
parent | decc4b99e136000e4f03df676ff672c0eccafd3c (diff) | |
download | cpython-ce08448165249b8be2181f231178db52504e2b01.zip cpython-ce08448165249b8be2181f231178db52504e2b01.tar.gz cpython-ce08448165249b8be2181f231178db52504e2b01.tar.bz2 |
New class syntax.
Diffstat (limited to 'Lib/lib-stdwin/Histogram.py')
-rw-r--r-- | Lib/lib-stdwin/Histogram.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-stdwin/Histogram.py b/Lib/lib-stdwin/Histogram.py index 505bbaf..27ae673 100644 --- a/Lib/lib-stdwin/Histogram.py +++ b/Lib/lib-stdwin/Histogram.py @@ -4,7 +4,7 @@ from Buttons import * # A Histogram displays a histogram of numeric data. # -class HistogramAppearance() = LabelAppearance(), Define(): +class HistogramAppearance(LabelAppearance, Define): # def define(self, parent): Define.define(self, (parent, '')) @@ -33,4 +33,4 @@ class HistogramAppearance() = LabelAppearance(), Define(): d.paint((h0, v0), (h1, v1)) # -class Histogram() = NoReactivity(), HistogramAppearance(): pass +class Histogram(NoReactivity, HistogramAppearance): pass |