From 3932877bcd49a11fb024695ca5a2225a3b42d7c4 Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Fri, 25 Apr 2014 16:03:19 -0300 Subject: [PATCH] signals doc: make argument order more consistent with code (although it doesn't matter in practice) --- docs/topics/signals.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/topics/signals.rst b/docs/topics/signals.rst index cf8fff6a9..eea7c64ca 100644 --- a/docs/topics/signals.rst +++ b/docs/topics/signals.rst @@ -63,7 +63,7 @@ item_scraped ------------ .. signal:: item_scraped -.. function:: item_scraped(item, spider, response) +.. function:: item_scraped(item, response, spider) Sent when an item has been scraped, after it has passed all the :ref:`topics-item-pipeline` stages (without being dropped). @@ -83,7 +83,7 @@ item_dropped ------------ .. signal:: item_dropped -.. function:: item_dropped(item, spider, exception) +.. function:: item_dropped(item, exception, spider) Sent after an item has been dropped from the :ref:`topics-item-pipeline` when some stage raised a :exc:`~scrapy.exceptions.DropItem` exception.