diff options
Diffstat (limited to 'Lib/stdwin')
-rwxr-xr-x | Lib/stdwin/TransParent.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/stdwin/TransParent.py b/Lib/stdwin/TransParent.py index 5ccebca..27e9bbd 100755 --- a/Lib/stdwin/TransParent.py +++ b/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() |