def xpath_button_pseudo(self, xpath):
        xpath.add_condition((
            "(@type = 'button' and name(.) = 'input') "
            "or name(.) = 'button'"))
        return xpath
Matches all button input elements and the button element::
dataset/ETHPy150Open gawel/pyquery/pyquery/cssselectpatch.py/JQueryTranslator.xpath_button_pseudo