Merge pull request #1869 from eldios/patch-1

Changed sel. to response. for clarity
This commit is contained in:
Elias Dorneles 2016-03-18 10:38:12 -03:00
commit 4b324a8f5b
1 changed files with 1 additions and 1 deletions

View File

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