New class syntax.

This commit is contained in:
Guido van Rossum 1991-12-26 13:06:29 +00:00
parent decc4b99e1
commit ce08448165
29 changed files with 81 additions and 81 deletions

View file

@ -6,7 +6,7 @@ from Buttons import LabelAppearance, NoReactivity
# A StripChart doesn't really look like a label but it needs a base class.
# LabelAppearance allows it to be disabled and hilited.
class StripChart() = LabelAppearance(), NoReactivity():
class StripChart(LabelAppearance, NoReactivity):
#
def define(self, (parent, scale)):
self.parent = parent