提交 3932877b 编写于 作者: P Pablo Hoffman

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

上级 eb07e091
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册