mirror of
https://github.com/python/cpython.git
synced 2025-12-31 12:33:28 +00:00
Docs: improve accuracy of socketserver reference (GH-24767)
(cherry picked from commit 052bc128ac)
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
This commit is contained in:
parent
9057296317
commit
3baaa97d6c
1 changed files with 3 additions and 7 deletions
|
|
@ -94,8 +94,7 @@ synchronous servers of four types::
|
|||
|
||||
Note that :class:`UnixDatagramServer` derives from :class:`UDPServer`, not from
|
||||
:class:`UnixStreamServer` --- the only difference between an IP and a Unix
|
||||
stream server is the address family, which is simply repeated in both Unix
|
||||
server classes.
|
||||
server is the address family.
|
||||
|
||||
|
||||
.. class:: ForkingMixIn
|
||||
|
|
@ -430,11 +429,8 @@ Request Handler Objects
|
|||
The :attr:`self.rfile` and :attr:`self.wfile` attributes can be
|
||||
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.
|
||||
The :attr:`!rfile` attributes support the :class:`io.BufferedIOBase` readable interface,
|
||||
and :attr:`!wfile` attributes support the :class:`!io.BufferedIOBase` writable interface.
|
||||
|
||||
.. versionchanged:: 3.6
|
||||
:attr:`StreamRequestHandler.wfile` also supports the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue