Skip to content

Commit 052bc12

Browse files
authored
Docs: improve accuracy of socketserver reference (#24767)
1 parent d74a588 commit 052bc12

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

Doc/library/socketserver.rst

+3-7
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ synchronous servers of four types::
9696

9797
Note that :class:`UnixDatagramServer` derives from :class:`UDPServer`, not from
9898
:class:`UnixStreamServer` --- the only difference between an IP and a Unix
99-
stream server is the address family, which is simply repeated in both Unix
100-
server classes.
99+
server is the address family.
101100

102101

103102
.. class:: ForkingMixIn
@@ -431,11 +430,8 @@ Request Handler Objects
431430
The :attr:`self.rfile` and :attr:`self.wfile` attributes can be
432431
read or written, respectively, to get the request data or return data
433432
to the client.
434-
435-
The :attr:`rfile` attributes of both classes support the
436-
:class:`io.BufferedIOBase` readable interface, and
437-
:attr:`DatagramRequestHandler.wfile` supports the
438-
:class:`io.BufferedIOBase` writable interface.
433+
The :attr:`!rfile` attributes support the :class:`io.BufferedIOBase` readable interface,
434+
and :attr:`!wfile` attributes support the :class:`!io.BufferedIOBase` writable interface.
439435

440436
.. versionchanged:: 3.6
441437
:attr:`StreamRequestHandler.wfile` also supports the

0 commit comments

Comments
 (0)