From 24073a2624047b54d647370a092a6f9d0cd851af Mon Sep 17 00:00:00 2001 From: Nikolaos-Digenis Karagiannis Date: Mon, 12 May 2014 22:25:18 +0300 Subject: [PATCH] document spider.closed() shortcut --- docs/topics/spiders.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/topics/spiders.rst b/docs/topics/spiders.rst index c709f1d39..d305ef281 100644 --- a/docs/topics/spiders.rst +++ b/docs/topics/spiders.rst @@ -195,6 +195,11 @@ Spider populating the spider argument with the :attr:`name` of this spider. For more information see :ref:`topics-logging`. + .. method:: closed(reason) + + Called when the spider closes. This method provides a shortcut to + signals.connect() for the :signal:`spider_closed` signal. + Spider example ~~~~~~~~~~~~~~