From 766c8a4ea88d47709ea1fe1a47cd7c5317120587 Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Thu, 14 May 2009 08:32:48 -0300 Subject: [PATCH] fixed some doc typos reported by phaithful --- docs/ref/request-response.rst | 2 +- docs/ref/spiders.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ref/request-response.rst b/docs/ref/request-response.rst index d524d0a3b..6631e3270 100644 --- a/docs/ref/request-response.rst +++ b/docs/ref/request-response.rst @@ -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 `, + using a encoding-aware :ref:`Response subclass `, such as :class:`TextResponse`. :type body: str diff --git a/docs/ref/spiders.rst b/docs/ref/spiders.rst index 8a937f12b..8a0af307b 100644 --- a/docs/ref/spiders.rst +++ b/docs/ref/spiders.rst @@ -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'),