From 1d1480fefc6ae77d14d6eff007b180ff5d1cd5d4 Mon Sep 17 00:00:00 2001 From: Mehrdad Moradizadeh Date: Sun, 1 Jan 2023 10:06:17 -0500 Subject: gh-96773 Fix documentation of socket backlog (#96778) --- Doc/library/socket.rst | 4 ++-- 1 file 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 `. ``(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 -- cgit v0.12