(self, slot)
slot: is a function / method
slot: is a function / method
slot : is a function / method
def connect(self, slot):
        "slot: is a function / method"

        assert callable(slot)
        self.slots.append(slot)
def connect ( self , slot ) : assert callable ( slot ) self . slots . append ( slot )