document spider.closed() shortcut

This commit is contained in:
Nikolaos-Digenis Karagiannis 2014-05-12 22:25:18 +03:00
parent 2bf09b8a20
commit 24073a2624
1 changed files with 5 additions and 0 deletions

View File

@ -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
~~~~~~~~~~~~~~