Skip to content

Commit d7c2e0a

Browse files
Docs: improve accuracy of socketserver reference (GH-24767)
(cherry picked from commit 052bc12) Co-authored-by: Géry Ogam <[email protected]>
1 parent fbe3881 commit d7c2e0a

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

Doc/library/socketserver.rst

Lines changed: 3 additions & 7 deletions
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
@@ -432,11 +431,8 @@ Request Handler Objects
432431
The :attr:`self.rfile` and :attr:`self.wfile` attributes can be
433432
read or written, respectively, to get the request data or return data
434433
to the client.
435-
436-
The :attr:`rfile` attributes of both classes support the
437-
:class:`io.BufferedIOBase` readable interface, and
438-
:attr:`DatagramRequestHandler.wfile` supports the
439-
:class:`io.BufferedIOBase` writable interface.
434+
The :attr:`!rfile` attributes support the :class:`io.BufferedIOBase` readable interface,
435+
and :attr:`!wfile` attributes support the :class:`!io.BufferedIOBase` writable interface.
440436

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

0 commit comments

Comments
 (0)