diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-06-29 10:12:22 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-06-29 10:12:22 (GMT) |
commit | 34eeed42901666fce099947f93dfdfc05411f286 (patch) | |
tree | 26bd3fea92143532a1a7fd725d08733819a779d1 /Doc/library/socketserver.rst | |
parent | 7acc3486d64c7625d9a366c5834028aa81ae162c (diff) | |
download | cpython-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.rst | 9 |
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 -------- |