(self, args)
COM: switch on/off serial port event handling.
COM: switch on/off serial port event handling.
COM : switch on / off serial port event handling .
def com_(self, args):
        """COM: switch on/off serial port event handling."""
        num = values.to_int(next(args))
        command, = args
        error.range_check(0, 2, num)
        if num > 0:
            self.command(self.com[num-1], command)
def com_ ( self , args ) : num = values . to_int ( next ( args ) ) command , = args error . range_check ( 0 , 2 , num ) if num > 0 : self . command ( self . com [ num - 1 ] , command )