Skip to content
Browse files

fix another invalid xpath error

  • Loading branch information
hoatle authored and dangra committed Dec 30, 2015
1 parent ca8d60f commit 0a1366ed8de2df1fcaafe70c6ff91918c9cf7e96
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/selectors.rst
@@ -151,7 +151,7 @@ It returns ``None`` if no element was found:
A default return value can be provided as an argument, to be used instead of ``None``:

>>> sel.xpath('//div/[id="not-exists"]/text()').extract_first(default='not-found')
>>> sel.xpath('//div[@id="not-exists"]/text()').extract_first(default='not-found')
Notice that CSS selectors can select text or attribute nodes using CSS3

0 comments on commit 0a1366e

Please sign in to comment.
You can’t perform that action at this time.