From d694019a77b1064bca0f9300f5bc387678bc4044 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 27c50a225..842d46786 100644 --- a/docs/topics/leaks.rst +++ b/docs/topics/leaks.rst @@ -98,7 +98,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