mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +00:00
New class syntax.
This commit is contained in:
parent
decc4b99e1
commit
ce08448165
29 changed files with 81 additions and 81 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue