This commit is contained in:
Kovid Goyal 2015-02-20 18:43:24 +05:30
parent deca8d35e5
commit afd1550e7c

View File

@ -91,11 +91,12 @@ class Select(object):
>>> print(tuple(select('p.myclass'))) >>> print(tuple(select('p.myclass')))
Tags are returned in document order. Note that attribute and tag names are Tags are returned in document order. Note that attribute and tag names are
matched case-insensitively. Also namespaces are ignored (this is for matched case-insensitively. Class and id values are also matched
performance of the common case). The UI related selectors are not case-insensitively. Also namespaces are ignored (this is for performance of
implemented, such as :enabled, :disabled, :checked, :hover, etc. Similarly, the common case). The UI related selectors are not implemented, such as
the non-element related selectors such as ::first-line, ::first-letter, :enabled, :disabled, :checked, :hover, etc. Similarly, the non-element
::before, etc. are not implemented. related selectors such as ::first-line, ::first-letter, ::before, etc. are
not implemented.
WARNING: This class uses internal caches. You *must not* make any changes WARNING: This class uses internal caches. You *must not* make any changes
to the lxml tree. If you do make some changes, either create a new Select to the lxml tree. If you do make some changes, either create a new Select