Merge pull request #719 from Digenis/master

document spider.closed() shortcut
This commit is contained in:
Daniel Graña 2014-06-03 10:01:15 -03:00
commit 7752074c51
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
~~~~~~~~~~~~~~