Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cdc878e

Browse files
author
Charles-François Natali
committed
Issue #6774: Back out c8b77efe8b56, which only brings confusion.
1 parent 9e312da commit cdc878e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Doc/library/socket.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,9 +1071,7 @@ correspond to Unix system calls applicable to sockets.
10711071
Shut down one or both halves of the connection. If *how* is :const:`SHUT_RD`,
10721072
further receives are disallowed. If *how* is :const:`SHUT_WR`, further sends
10731073
are disallowed. If *how* is :const:`SHUT_RDWR`, further sends and receives are
1074-
disallowed. Depending on the platform, shutting down one half of the connection
1075-
can also close the opposite half (e.g. on Mac OS X, ``shutdown(SHUT_WR)`` does
1076-
not allow further reads on the other end of the connection).
1074+
disallowed.
10771075

10781076
Note that there are no methods :meth:`read` or :meth:`write`; use
10791077
:meth:`~socket.recv` and :meth:`~socket.send` without *flags* argument instead.

0 commit comments

Comments
 (0)