summaryrefslogtreecommitdiffstats
path: root/Doc/library/socket.rst
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2012-01-29 15:42:54 (GMT)
committerCharles-François Natali <neologix@free.fr>2012-01-29 15:42:54 (GMT)
commitcdc878e56298c9da9720f1298a8b780a189ce029 (patch)
tree7a756d62b2b4e631fcd42b8bdee2f9c9785ecf00 /Doc/library/socket.rst
parent9e312dabdba58b4c97840070228f1af16b5b13fe (diff)
downloadcpython-cdc878e56298c9da9720f1298a8b780a189ce029.zip
cpython-cdc878e56298c9da9720f1298a8b780a189ce029.tar.gz
cpython-cdc878e56298c9da9720f1298a8b780a189ce029.tar.bz2
Issue #6774: Back out c8b77efe8b56, which only brings confusion.
Diffstat (limited to 'Doc/library/socket.rst')
-rw-r--r--Doc/library/socket.rst4
1 files changed, 1 insertions, 3 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index a8d3b93..cb2ab23 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -1071,9 +1071,7 @@ correspond to Unix system calls applicable to sockets.
Shut down one or both halves of the connection. If *how* is :const:`SHUT_RD`,
further receives are disallowed. If *how* is :const:`SHUT_WR`, further sends
are disallowed. If *how* is :const:`SHUT_RDWR`, further sends and receives are
- disallowed. Depending on the platform, shutting down one half of the connection
- can also close the opposite half (e.g. on Mac OS X, ``shutdown(SHUT_WR)`` does
- not allow further reads on the other end of the connection).
+ disallowed.
Note that there are no methods :meth:`read` or :meth:`write`; use
:meth:`~socket.recv` and :meth:`~socket.send` without *flags* argument instead.