File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66Error = 'TransParent.Error' # Exception
77
8- class ManageOneChild () :
8+ class ManageOneChild :
99 #
1010 # Upcalls shared with other single-child parents
1111 #
@@ -23,7 +23,7 @@ def delchild(self, child):
2323 raise Error , 'delchild: not my child'
2424 self .child = 0
2525
26- class TransParent () = ManageOneChild ( ):
26+ class TransParent (ManageOneChild ):
2727 #
2828 # Calls from creator
2929 # NB derived classes may add parameters to create()
Original file line number Diff line number Diff line change 55
66Error = 'TransParent.Error' # Exception
77
8- class ManageOneChild () :
8+ class ManageOneChild :
99 #
1010 # Upcalls shared with other single-child parents
1111 #
@@ -23,7 +23,7 @@ def delchild(self, child):
2323 raise Error , 'delchild: not my child'
2424 self .child = 0
2525
26- class TransParent () = ManageOneChild ( ):
26+ class TransParent (ManageOneChild ):
2727 #
2828 # Calls from creator
2929 # NB derived classes may add parameters to create()
You can’t perform that action at this time.
0 commit comments