summaryrefslogtreecommitdiffstats
path: root/Lib/stdwin/Abstract.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-12-26 13:06:29 (GMT)
committerGuido van Rossum <guido@python.org>1991-12-26 13:06:29 (GMT)
commitce08448165249b8be2181f231178db52504e2b01 (patch)
tree65e19b98f946c41b91c720f84ceb5a901fa44ea7 /Lib/stdwin/Abstract.py
parentdecc4b99e136000e4f03df676ff672c0eccafd3c (diff)
downloadcpython-ce08448165249b8be2181f231178db52504e2b01.zip
cpython-ce08448165249b8be2181f231178db52504e2b01.tar.gz
cpython-ce08448165249b8be2181f231178db52504e2b01.tar.bz2
New class syntax.
Diffstat (limited to 'Lib/stdwin/Abstract.py')
-rwxr-xr-xLib/stdwin/Abstract.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/stdwin/Abstract.py b/Lib/stdwin/Abstract.py
index 45d68ae..c6fe137 100755
--- a/Lib/stdwin/Abstract.py
+++ b/Lib/stdwin/Abstract.py
@@ -10,7 +10,7 @@
# For historical reasons, button creation methods are called
# define() while split creation methods are called create().
-class AbstractParent():
+class AbstractParent:
#
# Upcalls from child to parent
#
@@ -33,7 +33,7 @@ class AbstractParent():
def scroll(self, (area, (dh, dv))): unimpl()
def settimer(self, itimer): unimpl()
-class AbstractChild():
+class AbstractChild:
#
# Downcalls from parent to child
#
@@ -59,5 +59,5 @@ class AbstractChild():
# Certain upcalls and downcalls can be handled transparently, but
# for others (e.g., all geometry related calls) this is not possible.
-class AbstractSplit() = AbstractChild(), AbstractParent():
+class AbstractSplit(AbstractChild, AbstractParent):
pass