Skip to content

Commit 1d1480f

Browse files
gh-96773 Fix documentation of socket backlog (#96778)
1 parent d52d494 commit 1d1480f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/socket.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -803,8 +803,8 @@ The following functions all create :ref:`socket objects <socket-objects>`.
803803
``(host, port)``) and returns the socket object.
804804

805805
*family* should be either :data:`AF_INET` or :data:`AF_INET6`.
806-
*backlog* is the queue size passed to :meth:`socket.listen`; when ``0``
807-
a default reasonable value is chosen.
806+
*backlog* is the queue size passed to :meth:`socket.listen`; if not specified
807+
, a default reasonable value is chosen.
808808
*reuse_port* dictates whether to set the :data:`SO_REUSEPORT` socket option.
809809

810810
If *dualstack_ipv6* is true and the platform supports it the socket will

0 commit comments

Comments
 (0)