From dffc4549d752714f9d53c64f6a3066caecb71bb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Ricardo?= Date: Fri, 17 Apr 2015 14:27:11 -0400 Subject: [PATCH] Fix small typo in the docs --- docs/topics/leaks.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/leaks.rst b/docs/topics/leaks.rst index 21cfcf9bc..9d15ebe48 100644 --- a/docs/topics/leaks.rst +++ b/docs/topics/leaks.rst @@ -101,7 +101,7 @@ Let's see a concrete example of an hypothetical case of memory leaks. Suppose we have some spider with a line similar to this one:: return Request("http://www.somenastyspider.com/product.php?pid=%d" % product_id, - callback=self.parse, meta={referer: response}") + callback=self.parse, meta={referer: response}) That line is passing a response reference inside a request which effectively ties the response lifetime to the requests' one, and that would definitely