Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

doc: Response.replace() cannot take meta argument

Steven Almeroth0d7747d353fd
diff --git a/docs/topics/request-response.rst b/docs/topics/request-response.rst
index 7a7121dfe..d3fd5180f 100644
--- a/docs/topics/request-response.rst
+++ b/docs/topics/request-response.rst
@@ -450,12 +450,11 @@ Response objects
Returns a new Response which is a copy of this Response.
- .. method:: Response.replace([url, status, headers, body, meta, flags, cls])
+ .. method:: Response.replace([url, status, headers, body, request, flags, cls])
Returns a Response object with the same members, except for those members
given new values by whichever keyword arguments are specified. The
- attribute :attr:`Response.meta` is copied by default (unless a new value
- is given in the ``meta`` argument).
+ attribute :attr:`Response.meta` is copied by default.
.. _topics-request-response-ref-response-subclasses: