summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMehrdad Moradizadeh <mhrddmoradii@gmail.com>2023-01-01 15:06:17 (GMT)
committerGitHub <noreply@github.com>2023-01-01 15:06:17 (GMT)
commit1d1480fefc6ae77d14d6eff007b180ff5d1cd5d4 (patch)
tree9c324a7c3c4f9bb6f0935091678c7f1397e0b28d /Doc/library
parentd52d4942cfdd52a50f88b87b1ff2a67375dbcf47 (diff)
downloadcpython-1d1480fefc6ae77d14d6eff007b180ff5d1cd5d4.zip
cpython-1d1480fefc6ae77d14d6eff007b180ff5d1cd5d4.tar.gz
cpython-1d1480fefc6ae77d14d6eff007b180ff5d1cd5d4.tar.bz2
gh-96773 Fix documentation of socket backlog (#96778)
Diffstat (limited to 'Doc/library')
-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 de2e1aa..cffb19c 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -803,8 +803,8 @@ The following functions all create :ref:`socket objects <socket-objects>`.
``(host, port)``) and returns 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