Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: improve accuracy of socketserver reference #24767

Merged
merged 9 commits into from
Nov 29, 2022
12 changes: 6 additions & 6 deletions Doc/library/socketserver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,20 +81,20 @@ synchronous servers of four types::
+------------+
| BaseServer |
+------------+
^
|
v
+-----------+ +------------------+
| TCPServer |------->| UnixStreamServer |
| TCPServer |<-------| UnixStreamServer |
+-----------+ +------------------+
^
|
v
+-----------+ +--------------------+
| UDPServer |------->| UnixDatagramServer |
| UDPServer |<-------| UnixDatagramServer |
+-----------+ +--------------------+
geryogam marked this conversation as resolved.
Show resolved Hide resolved

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 is the address family, which is simply repeated in both Unix
erlend-aasland marked this conversation as resolved.
Show resolved Hide resolved
server classes.


Expand Down Expand Up @@ -433,7 +433,7 @@ Request Handler Objects

The :attr:`rfile` attributes of both classes support the
:class:`io.BufferedIOBase` readable interface, and
:attr:`DatagramRequestHandler.wfile` supports the
the :attr:`wfile` attributes of both classes support the
geryogam marked this conversation as resolved.
Show resolved Hide resolved
:class:`io.BufferedIOBase` writable interface.

.. versionchanged:: 3.6
Expand Down