summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-11-27 19:40:22 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-11-27 19:40:22 (GMT)
commit94681fc4a35be6a87ceae0daeb687a711699806b (patch)
treec1ae89e6662e3756a1dbccdbf4a071bb325dd814 /Doc
parent04bf7241e4d936dc1438880f3d96c9faf2eea208 (diff)
downloadcpython-94681fc4a35be6a87ceae0daeb687a711699806b.zip
cpython-94681fc4a35be6a87ceae0daeb687a711699806b.tar.gz
cpython-94681fc4a35be6a87ceae0daeb687a711699806b.tar.bz2
Patch #849595: Add socket.shutdown() constants.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libsocket.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex
index de2f51d..09c4c8d 100644
--- a/Doc/lib/libsocket.tex
+++ b/Doc/lib/libsocket.tex
@@ -638,8 +638,8 @@ structures as strings).
\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}