summaryrefslogtreecommitdiffstats
path: root/Doc/library/socketserver.rst
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-06-29 10:12:22 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-06-29 10:12:22 (GMT)
commit34eeed42901666fce099947f93dfdfc05411f286 (patch)
tree26bd3fea92143532a1a7fd725d08733819a779d1 /Doc/library/socketserver.rst
parent7acc3486d64c7625d9a366c5834028aa81ae162c (diff)
downloadcpython-34eeed42901666fce099947f93dfdfc05411f286.zip
cpython-34eeed42901666fce099947f93dfdfc05411f286.tar.gz
cpython-34eeed42901666fce099947f93dfdfc05411f286.tar.bz2
Issue #26721: Change StreamRequestHandler.wfile to BufferedIOBase
Diffstat (limited to 'Doc/library/socketserver.rst')
-rw-r--r--Doc/library/socketserver.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/socketserver.rst b/Doc/library/socketserver.rst
index dac9281..3eb27e3 100644
--- a/Doc/library/socketserver.rst
+++ b/Doc/library/socketserver.rst
@@ -409,6 +409,15 @@ Request Handler Objects
read or written, respectively, to get the request data or return data
to the client.
+ The :attr:`rfile` attributes of both classes support the
+ :class:`io.BufferedIOBase` readable interface, and
+ :attr:`DatagramRequestHandler.wfile` supports the
+ :class:`io.BufferedIOBase` writable interface.
+
+ .. versionchanged:: 3.6
+ :attr:`StreamRequestHandler.wfile` also supports the
+ :class:`io.BufferedIOBase` writable interface.
+
Examples
--------