From 0ba0d85685b895364830d27be24a6716db300e61 Mon Sep 17 00:00:00 2001 From: scraperdragon Date: Tue, 15 Jan 2013 10:37:06 +0000 Subject: [PATCH] Parameters to Request() in wrong order Implied that callback wasn't the first optional unnamed parameter. --- docs/topics/request-response.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/request-response.rst b/docs/topics/request-response.rst index f83ef98b7..d2c3cd54f 100644 --- a/docs/topics/request-response.rst +++ b/docs/topics/request-response.rst @@ -24,7 +24,7 @@ below in :ref:`topics-request-response-ref-request-subclasses` and Request objects =============== -.. class:: Request(url[, method='GET', body, headers, cookies, meta, encoding='utf-8', priority=0, dont_filter=False, callback, errback]) +.. class:: Request(url[, callback, method='GET', headers, body, cookies, meta, encoding='utf-8', priority=0, dont_filter=False, errback]) A :class:`Request` object represents an HTTP request, which is usually generated in the Spider and executed by the Downloader, and thus generating