From 20a61caa2c1a8b32e0e3b10d40dbd6a98e57296f Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Fri, 30 Jan 2009 23:20:21 +0000 Subject: [PATCH] fixed some doc typos --HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40815 --- scrapy/trunk/docs/ref/logging.rst | 2 +- scrapy/trunk/docs/ref/settings.rst | 4 ++-- scrapy/trunk/docs/topics/item-pipeline.rst | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scrapy/trunk/docs/ref/logging.rst b/scrapy/trunk/docs/ref/logging.rst index d61fa1c7f..3a2caa518 100644 --- a/scrapy/trunk/docs/ref/logging.rst +++ b/scrapy/trunk/docs/ref/logging.rst @@ -16,7 +16,7 @@ Quick example Here's a quick example of how to log a message using the ``WARNING`` level:: - from scrapy.log + from scrapy import log log.msg("This is a warning", level=log.WARNING) scrapy.log module diff --git a/scrapy/trunk/docs/ref/settings.rst b/scrapy/trunk/docs/ref/settings.rst index f35461379..7a1046c2a 100644 --- a/scrapy/trunk/docs/ref/settings.rst +++ b/scrapy/trunk/docs/ref/settings.rst @@ -128,7 +128,7 @@ CLUSTER_MASTER_ENABLED Default: ``False`` -A boolen which specifies whether to enabled the cluster master. +A boolean which specifies whether to enabled the cluster master. .. setting:: CLUSTER_MASTER_NODES @@ -173,7 +173,7 @@ CLUSTER_WORKER_ENABLED Default: ``False`` -A boolen which specifies whether to enabled the cluster master. +A boolean which specifies whether to enabled the cluster master. .. setting:: CLUSTER_WORKER_MAXPROC diff --git a/scrapy/trunk/docs/topics/item-pipeline.rst b/scrapy/trunk/docs/topics/item-pipeline.rst index 033e98e3f..fbf67c3c5 100644 --- a/scrapy/trunk/docs/topics/item-pipeline.rst +++ b/scrapy/trunk/docs/topics/item-pipeline.rst @@ -36,7 +36,7 @@ components. Item pipeline example ===================== -Let's take a look at following hypotetic pipeline that adjusts the ``price`` +Let's take a look at following hypothetic pipeline that adjusts the ``price`` attribute for those items that do not include VAT (``price_excludes_vat`` attribute), and drops those items which don't contain a price::