From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 1 Jan 2023 15:16:25 +0000 (-0800) Subject: gh-96773 Fix documentation of socket backlog (GH-96778) X-Git-Tag: v3.10.10~79 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e3b303a020eaf12dcec4db8bb2b0fb354a14cb68;p=thirdparty%2FPython%2Fcpython.git gh-96773 Fix documentation of socket backlog (GH-96778) (cherry picked from commit 1d1480fefc6ae77d14d6eff007b180ff5d1cd5d4) Co-authored-by: Mehrdad Moradizadeh --- diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 0a8f35eed4c8..6fb6d5fd8b1b 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -670,8 +670,8 @@ The following functions all create :ref:`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