minor selectors doc fix

This commit is contained in:
Pablo Hoffman 2009-07-23 01:56:56 -03:00
parent 6eb2609d1e
commit 9baa6bb2a8
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ inside ``<div>`` elements::
This is the proper way to do it (note the dot prefixing the ``.//p`` XPath)::
>>> for p in divs.x('//p') # extracts all <p> inside
>>> for p in divs.x('.//p') # extracts all <p> inside
>>> print p.extract()
Another common case would be to extract all direct ``<p>`` children::