diff options
author | Guido van Rossum <guido@python.org> | 1991-12-30 16:02:20 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-12-30 16:02:20 (GMT) |
commit | 564f5507c38a0399d0a0e852df3f744a785a3d81 (patch) | |
tree | 8ad55dc33c6454465455b6646cf0a82ac5b19f3a /Lib/lib-stdwin | |
parent | d404569b97acd4f55e3f3d0b59c50ed357eb123c (diff) | |
download | cpython-564f5507c38a0399d0a0e852df3f744a785a3d81.zip cpython-564f5507c38a0399d0a0e852df3f744a785a3d81.tar.gz cpython-564f5507c38a0399d0a0e852df3f744a785a3d81.tar.bz2 |
y
New class syntax
Diffstat (limited to 'Lib/lib-stdwin')
-rw-r--r-- | Lib/lib-stdwin/TransParent.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-stdwin/TransParent.py b/Lib/lib-stdwin/TransParent.py index 5ccebca..27e9bbd 100644 --- a/Lib/lib-stdwin/TransParent.py +++ b/Lib/lib-stdwin/TransParent.py @@ -5,7 +5,7 @@ Error = 'TransParent.Error' # Exception -class ManageOneChild(): +class ManageOneChild: # # Upcalls shared with other single-child parents # @@ -23,7 +23,7 @@ class ManageOneChild(): raise Error, 'delchild: not my child' self.child = 0 -class TransParent() = ManageOneChild(): +class TransParent(ManageOneChild): # # Calls from creator # NB derived classes may add parameters to create() |