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/stdwin/HVSplit.py | |
parent | decc4b99e136000e4f03df676ff672c0eccafd3c (diff) | |
download | cpython-ce08448165249b8be2181f231178db52504e2b01.zip cpython-ce08448165249b8be2181f231178db52504e2b01.tar.gz cpython-ce08448165249b8be2181f231178db52504e2b01.tar.bz2 |
New class syntax.
Diffstat (limited to 'Lib/stdwin/HVSplit.py')
-rwxr-xr-x | Lib/stdwin/HVSplit.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/stdwin/HVSplit.py b/Lib/stdwin/HVSplit.py index c35ce4c..9790b7b 100755 --- a/Lib/stdwin/HVSplit.py +++ b/Lib/stdwin/HVSplit.py @@ -7,7 +7,7 @@ from Split import Split -class HVSplit() = Split(): +class HVSplit(Split): # def create(self, (parent, hv)): # hv is 0 for HSplit, 1 for VSplit @@ -53,10 +53,10 @@ class HVSplit() = Split(): # XXX too-small # -class HSplit() = HVSplit(): +class HSplit(HVSplit): def create(self, parent): return HVSplit.create(self, (parent, 0)) -class VSplit() = HVSplit(): +class VSplit(HVSplit): def create(self, parent): return HVSplit.create(self, (parent, 1)) |