From 6c9daf3a952abbd53b653037b22a5e15b0b9e4cc Mon Sep 17 00:00:00 2001 From: Mikhail Korobov Date: Wed, 10 Jun 2015 01:44:19 +0500 Subject: [PATCH] DOC remove unnecessary links; fix references in send_catch_log_deferred docstring --- docs/topics/api.rst | 2 -- scrapy/signalmanager.py | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/topics/api.rst b/docs/topics/api.rst index f3a03bb74..f54341eb8 100644 --- a/docs/topics/api.rst +++ b/docs/topics/api.rst @@ -427,6 +427,4 @@ class (which they all inherit from). Close the given spider. After this is called, no more specific stats can be accessed or collected. -.. _deferreds: http://twistedmatrix.com/documents/current/core/howto/defer.html -.. _deferred: http://twistedmatrix.com/documents/current/core/howto/defer.html .. _reactor: http://twistedmatrix.com/documents/current/core/howto/reactor-basics.html diff --git a/scrapy/signalmanager.py b/scrapy/signalmanager.py index 90a14bd63..bcc0df2c6 100644 --- a/scrapy/signalmanager.py +++ b/scrapy/signalmanager.py @@ -46,10 +46,10 @@ class SignalManager(object): def send_catch_log_deferred(self, signal, **kwargs): """ - Like :meth:`send_catch_log` but supports returning `deferred`_ from + Like :meth:`send_catch_log` but supports returning `deferreds`_ from signal handlers. - Returns a `deferred`_ that gets fired once all signal handlers + Returns a Deferred that gets fired once all signal handlers deferreds were fired. Send a signal, catch exceptions and log them. The keyword arguments are passed to the signal handlers (connected