Closed denilsonsa closed 5 years ago
doc.attr(attr,attr_value)
Works like JQuery
It's documented here: http://pyquery.readthedocs.org/en/latest/attributes.html
The problem is that there's a lot of magic in that «method». I'm not sure that sphinx know how to interpret the docstring.
In the official documentation: http://pyquery.readthedocs.org/en/latest/api.html
There is
removeAttr()
, butattr()
is not listed there.In other words, the documentation does not explain how to get or set attributes (but it explains how to remove them).
Would be nice to double-check if there are any other undocumented methods.