Commits

Scott Smerchek  committed 3f859d5

corrected docstring for JQueryPseudo._xpath_button

  • Participants
  • Parent commits 4a62ac9

Comments (0)

Files changed (1)

File 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'")