From f3f3a440d3cf6c8710b65a954f9e8fd23391b2b2 Mon Sep 17 00:00:00 2001 From: Mikhail Korobov Date: Fri, 4 Jul 2014 04:03:45 +0600 Subject: [PATCH] fix a couple of typos in sep-19 --- sep/sep-019.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sep/sep-019.rst b/sep/sep-019.rst index 76b0892fe..6c5e8bdd9 100644 --- a/sep/sep-019.rst +++ b/sep/sep-019.rst @@ -17,7 +17,7 @@ and whole crawl workflow. In short, you will be able to overwrite settings (on a per-spider basis) by implementing a class method in your spider:: - def MySpider(BaseSpider): + class MySpider(Spider): @classmethod def custom_settings(cls): @@ -199,7 +199,7 @@ A new class method ``custom_settings`` is proposed, that could be use to override project and default settings before they're used to instantiate the crawler:: - def MySpider(BaseSpider): + class MySpider(Spider): @classmethod def custom_settings(cls):