Add import statement to docs

This commit is contained in:
Kovid Goyal 2015-02-20 16:33:47 +05:30
parent 6758fba212
commit 21f5455c05

View File

@ -86,7 +86,8 @@ class Select(object):
This class implements CSS Level 3 selectors on an lxml tree, with caching
for performance. To use:
>>> select = Select(root)
>>> from css_selectors import Select
>>> select = Select(root) # Where root is an lxml document
>>> print(tuple(select('p.myclass')))
Tags are returned in document order. Note that attribute and tag names are