diff --git a/docs/topics/spider-middleware.rst b/docs/topics/spider-middleware.rst index 93878943c83..173c4a80c3b 100644 --- a/docs/topics/spider-middleware.rst +++ b/docs/topics/spider-middleware.rst @@ -101,7 +101,7 @@ following methods: :class:`~scrapy.item.Item` objects :param spider: the spider whose result is being processed - :type spider: :class:`~scrapy.item.Spider` object + :type spider: :class:`~scrapy.spider.Spider` object .. method:: process_spider_exception(response, exception, spider) @@ -156,7 +156,7 @@ following methods: :type start_requests: an iterable of :class:`~scrapy.http.Request` :param spider: the spider to whom the start requests belong - :type spider: :class:`~scrapy.item.Spider` object + :type spider: :class:`~scrapy.spider.Spider` object .. _Exception: http://docs.python.org/library/exceptions.html#exceptions.Exception