summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-11-29 20:43:09 (GMT)
committerGitHub <noreply@github.com>2022-11-29 20:43:09 (GMT)
commitd7c2e0a537f5e01564ebb06aa5db61e701ef7176 (patch)
tree2c9a4dd4942ed9b35f51b8472865f986f40f6f33
parentfbe388162b5794f93f2cb9100cb430e440b2891f (diff)
downloadcpython-d7c2e0a537f5e01564ebb06aa5db61e701ef7176.zip
cpython-d7c2e0a537f5e01564ebb06aa5db61e701ef7176.tar.gz
cpython-d7c2e0a537f5e01564ebb06aa5db61e701ef7176.tar.bz2
Docs: improve accuracy of socketserver reference (GH-24767)
(cherry picked from commit 052bc128ac0bcafd36a0cbee5f4c2a10d74468dc) Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
-rw-r--r--Doc/library/socketserver.rst10
1 files changed, 3 insertions, 7 deletions
diff --git a/Doc/library/socketserver.rst b/Doc/library/socketserver.rst
index 70d56a1..a409c99 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
@@ -432,11 +431,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