Skip to content

Commit c84c376

Browse files
committed
Merge pull request scrapy#1170 from josericardo/patch-1
Fix small typo in the docs
2 parents 778c33e + d694019 commit c84c376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/topics/leaks.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Let's see a concrete example of an hypothetical case of memory leaks.
9898
Suppose we have some spider with a line similar to this one::
9999

100100
return Request("http://www.somenastyspider.com/product.php?pid=%d" % product_id,
101-
callback=self.parse, meta={referer: response}")
101+
callback=self.parse, meta={referer: response})
102102

103103
That line is passing a response reference inside a request which effectively
104104
ties the response lifetime to the requests' one, and that would definitely

0 commit comments

Comments
 (0)