From 9baa6bb2a8853cd383006151b226a721f4c7ad92 Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Thu, 23 Jul 2009 01:56:56 -0300 Subject: [PATCH] minor selectors doc fix --- docs/topics/selectors.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/selectors.rst b/docs/topics/selectors.rst index 0728922e5..ebb333cf3 100644 --- a/docs/topics/selectors.rst +++ b/docs/topics/selectors.rst @@ -194,7 +194,7 @@ inside ``
`` elements:: This is the proper way to do it (note the dot prefixing the ``.//p`` XPath):: - >>> for p in divs.x('//p') # extracts all

inside + >>> for p in divs.x('.//p') # extracts all

inside >>> print p.extract() Another common case would be to extract all direct ``

`` children::