fixed some doc typos reported by phaithful

This commit is contained in:
Pablo Hoffman 2009-05-14 08:32:48 -03:00
parent 314a1c2bc2
commit 766c8a4ea8
2 changed files with 2 additions and 2 deletions

View File

@ -347,7 +347,7 @@ Response objects
:type status: integer
:param body: the response body. It must be str, not unicode, unless you're
using a encoding-aware :ref:`Response sublcass <ref-response-subclasses>`,
using a encoding-aware :ref:`Response subclass <ref-response-subclasses>`,
such as :class:`TextResponse`.
:type body: str

View File

@ -163,7 +163,7 @@ Let's now take a look at an example CrawlSpider with rules::
rules = (
# Extract links matching 'category.php' (but not matching 'subsection.php')
# and follow links from them (since no callback means follow=True by default).
Rule(RegexLinkExtractor(allow=('category\.php', ), deny=('subsection\,php', ))),
Rule(RegexLinkExtractor(allow=('category\.php', ), deny=('subsection\.php', ))),
# Extract links matching 'item.php' and parse them with the spider's method parse_item
Rule(RegexLinkExtractor(allow=('item\.php', )), callback='parse_item'),