Skip to content

Commit

Permalink
Fixed Python syntax in tutorial.
Browse files Browse the repository at this point in the history
  • Loading branch information
zsiciarz committed Jul 4, 2014
1 parent f3f3a44 commit 0466e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/intro/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ As we've said before, each ``.xpath()`` call returns a list of selectors, so we
concatenate further ``.xpath()`` calls to dig deeper into a node. We are going to use
that property here, so::

for sel in response.xpath('//ul/li')
for sel in response.xpath('//ul/li'):
title = sel.xpath('a/text()').extract()
link = sel.xpath('a/@href').extract()
desc = sel.xpath('text()').extract()
Expand Down

0 comments on commit 0466e8c

Please sign in to comment.