summaryrefslogtreecommitdiffstats
path: root/Doc/library/socket.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-01-01 15:13:50 (GMT)
committerGitHub <noreply@github.com>2023-01-01 15:13:50 (GMT)
commitc7dcfdaef61df31e98444a12dd3a3337ba4d759c (patch)
tree2a55c6668dd987a3cf4c5a6857e0f65f9b9b00e8 /Doc/library/socket.rst
parentd0a9bc5a89728a66f66835cbeec6a33aa7de26f0 (diff)
downloadcpython-c7dcfdaef61df31e98444a12dd3a3337ba4d759c.zip
cpython-c7dcfdaef61df31e98444a12dd3a3337ba4d759c.tar.gz
cpython-c7dcfdaef61df31e98444a12dd3a3337ba4d759c.tar.bz2
gh-96773 Fix documentation of socket backlog (GH-96778)
(cherry picked from commit 1d1480fefc6ae77d14d6eff007b180ff5d1cd5d4) Co-authored-by: Mehrdad Moradizadeh <mhrddmoradii@gmail.com>
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 8c26089..bb689c4 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -717,8 +717,8 @@ The following functions all create :ref:`socket objects <socket-objects>`.
``(host, port)``) and return the socket object.
*family* should be either :data:`AF_INET` or :data:`AF_INET6`.
- *backlog* is the queue size passed to :meth:`socket.listen`; when ``0``
- a default reasonable value is chosen.
+ *backlog* is the queue size passed to :meth:`socket.listen`; if not specified
+ , a default reasonable value is chosen.
*reuse_port* dictates whether to set the :data:`SO_REUSEPORT` socket option.
If *dualstack_ipv6* is true and the platform supports it the socket will