Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 052bc12

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

File tree

Expand file treeCollapse file tree

1 file changed

+3
-7
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-7
lines changed

‎Doc/library/socketserver.rst

Copy file name to clipboardExpand all lines: Doc/library/socketserver.rst
+3-7Lines 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
@@ -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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.