Skip to content
Browse files

Fixed Python syntax in tutorial.

  • Loading branch information
zsiciarz authored and dangra committed Aug 8, 2014
1 parent f090260 commit db59ed9ceaf2318a949452b3483e558065fd5421
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/intro/tutorial.rst
@@ -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()

0 comments on commit db59ed9

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