Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

signals doc: make argument order more consistent with code (although it doesn't matter in practice)

Pablo Hoffman3932877bcd49
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.