Пример #1
0
 def __init__(self, canvas, variable, value):
     """Literally the same constructor, just preferred to give better names
     to the arguments and reorder them.
     """
     Connector.__init__(self, canvas, value, variable)
Пример #2
0
 def __init__(self, canvas, base, frame):
     """Renamed arguments and changed order to be easier to use."""
     Connector.__init__(self, canvas, frame, base)