diff options
author | Géry Ogam <gery.ogam@gmail.com> | 2022-11-29 20:34:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-29 20:34:52 (GMT) |
commit | 052bc128ac0bcafd36a0cbee5f4c2a10d74468dc (patch) | |
tree | 87a71df0a2ec41f0b15c89f671f84d566eb412b1 /Doc/library | |
parent | d74a58872c243bc766055d42f8280721629e3c82 (diff) | |
download | cpython-052bc128ac0bcafd36a0cbee5f4c2a10d74468dc.zip cpython-052bc128ac0bcafd36a0cbee5f4c2a10d74468dc.tar.gz cpython-052bc128ac0bcafd36a0cbee5f4c2a10d74468dc.tar.bz2 |
Docs: improve accuracy of socketserver reference (#24767)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/socketserver.rst | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Doc/library/socketserver.rst b/Doc/library/socketserver.rst index 2678539..ceb962e 100644 --- a/Doc/library/socketserver.rst +++ b/Doc/library/socketserver.rst @@ -96,8 +96,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 @@ -431,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 |