summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJosh Schneier <josh.schneier@gmail.com>2017-04-26 14:17:41 -0400
committerTim Graham <timograham@gmail.com>2017-04-26 19:39:22 -0400
commita1b2c1d76ec4b7ca396b015a0616a1f8a1845066 (patch)
treefaaf81c21a80311ecd8582c7f77666fdc4487280 /docs
parent278a09ac1f410cf4e3472146324feded2e2c18b3 (diff)
Fixed #28137 -- Deprecated HttpRequest.xreadlines().
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/deprecation.txt2
-rw-r--r--docs/ref/request-response.txt1
-rw-r--r--docs/releases/2.0.txt3
3 files changed, 5 insertions, 1 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index e9eb6b24cf..cee80fdbe2 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -21,6 +21,8 @@ details on these changes.
* The ``DEFAULT_CONTENT_TYPE`` setting will be removed.
+* ``HttpRequest.xreadlines()`` will be removed.
+
.. _deprecation-removed-in-2.1:
2.1
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt
index 6de18234c4..ec58761a43 100644
--- a/docs/ref/request-response.txt
+++ b/docs/ref/request-response.txt
@@ -362,7 +362,6 @@ Methods
.. method:: HttpRequest.read(size=None)
.. method:: HttpRequest.readline()
.. method:: HttpRequest.readlines()
-.. method:: HttpRequest.xreadlines()
.. method:: HttpRequest.__iter__()
Methods implementing a file-like interface for reading from an
diff --git a/docs/releases/2.0.txt b/docs/releases/2.0.txt
index cc1248a9b0..223e008e37 100644
--- a/docs/releases/2.0.txt
+++ b/docs/releases/2.0.txt
@@ -334,6 +334,9 @@ Miscellaneous
well with third-party apps and is obsolete since HTML5 has mostly superseded
XHTML.
+* ``HttpRequest.xreadlines()`` is deprecated in favor of iterating over the
+ request.
+
.. _removed-features-2.0:
Features removed in 2.0