def addSignal(self, s):
        """
        Adds a L{Signal} to the interface
        """
        if s.nargs == -1:
            s.nargs = len([a for a in marshal.genCompleteTypes(s.sig)])
        self.signals[s.name] = s
        self._xml = None
def addSignal ( self , s ) : if s . nargs == - 1 : s . nargs = len ( [ a for a in marshal . genCompleteTypes ( s . sig ) ] ) self . signals [ s . name ] = s self . _xml = None
Adds a L{Signal} to the interface