Skip to content
Merged
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions Doc/library/socketserver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ 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.
:class:`UnixStreamServer` --- the only difference between a TCP or UDP server
and a Unix stream or datagram server is the address family, which is simply repeated in both Unix
stream and datagram server classes.


.. class:: ForkingMixIn
Expand Down Expand Up @@ -430,11 +430,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
Expand Down