(self, cmd)
timeout MS: Try opening locked tables for MS milliseconds

        If a database is locked by another process SQLite will keep
        retrying.  This sets how many thousandths of a second it will
        keep trying for.  If you supply zero or a negative number then
        all busy handlers are disabled.
timeout MS: Try opening locked tables for MS milliseconds
timeout MS : Try opening locked tables for MS milliseconds
def command_timeout(self, cmd):
        """timeout MS: Try opening locked tables for MS milliseconds

        If a database is locked by another process SQLite will keep
        retrying.  This sets how many thousandths of a second it will
        keep trying for.  If you supply zero or a negative number then
        all busy handlers are disabled.
        """
        if len(cmd) != 1:
            raise self.Error("timeout takes a number")
        try:
            t = int(cmd[0])
        except:
            raise self.Error("%s is not a number" % (cmd[0], ))
        self.db.setbusytimeout(t)
def command_timeout ( self , cmd ) : if len ( cmd ) != 1 : raise self . Error ( "timeout takes a number" ) try : t = int ( cmd [ 0 ] ) except : raise self . Error ( "%s is not a number" % ( cmd [ 0 ] , ) ) self . db . setbusytimeout ( t )