fix a couple of typos in sep-19

This commit is contained in:
Mikhail Korobov 2014-07-04 04:03:45 +06:00
parent 19dc3fa053
commit f3f3a440d3
1 changed files with 2 additions and 2 deletions

View File

@ -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):