Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libsocket.tex @ 31027:bf038986cb8f legacy-trunk
Patch #849595: Add socket.shutdown() constants.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Thu, 27 Nov 2003 19:40:22 +0000 |
| parents | 2cfaca62a990 |
| children | e5d97ab710a2 |
line wrap: on
line diff
--- a/Doc/lib/libsocket.tex Wed Nov 26 20:55:49 2003 +0000 +++ b/Doc/lib/libsocket.tex Thu Nov 27 19:40:22 2003 +0000 @@ -638,8 +638,8 @@ \begin{methoddesc}[socket]{shutdown}{how} Shut down one or both halves of the connection. If \var{how} is -\code{0}, further receives are disallowed. If \var{how} is \code{1}, -further sends are disallowed. If \var{how} is \code{2}, further sends +\constant{SHUT_RD}, further receives are disallowed. If \var{how} is \constant{SHUT_WR}, +further sends are disallowed. If \var{how} is \constant{SHUT_RDWR}, further sends and receives are disallowed. \end{methoddesc}
