select_input

returns input elements.

Source


def select_input(self):
    ret = pyNodeList()
    for node in self:
        if node.name() == 'input':
            ret.append(node)
    if len(ret) == 1: return ret[0]
    else: return ret