summaryrefslogtreecommitdiff
path: root/Doc/library/socket.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-05-25 18:06:35 +0200
committerÉric Araujo <merwok@netwok.org>2011-05-25 18:06:35 +0200
commitde32c4b97caa7e4b70b81c18da3fa693bebb952d (patch)
treeb771908fe89fc117032c503fa3e37c5f893bdb75 /Doc/library/socket.rst
parent1c814933dad1bea8eff9fbb8c39064d6de379a8d (diff)
parent3db5f1d86143ce3b24f187b170b19fe639af000c (diff)
downloadcpython-de32c4b97caa7e4b70b81c18da3fa693bebb952d.tar.gz
Branch merge
Diffstat (limited to 'Doc/library/socket.rst')
-rw-r--r--Doc/library/socket.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index 96152f9d39..d6b1e4c5e5 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -644,8 +644,8 @@ correspond to Unix system calls applicable to sockets.
.. method:: socket.listen(backlog)
Listen for connections made to the socket. The *backlog* argument specifies the
- maximum number of queued connections and should be at least 1; the maximum value
- is system-dependent (usually 5).
+ maximum number of queued connections and should be at least 0; the maximum value
+ is system-dependent (usually 5), the minimum value is forced to 0.
.. method:: socket.makefile([mode[, bufsize]])