Commits

Scott Smerchek committed 3f859d5

corrected docstring for JQueryPseudo._xpath_button

Comments (0)

Files changed (1)

pyquery/cssselectpatch.py

         return xpath
 
     def _xpath_button(self, xpath):
-        """Matches all input elements.
+        """Matches all button input elements and the button element.
         """
         xpath.add_condition("(@type = 'button' and name(.) = 'input') "
             + "or name(.) = 'button'")