]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45693: Document `port` parameter to `loop.create_server` (GH-29760) (GH-29762)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 24 Nov 2021 20:39:51 +0000 (12:39 -0800)
committerGitHub <noreply@github.com>
Wed, 24 Nov 2021 20:39:51 +0000 (15:39 -0500)
commit8cabcde8d66bfd8abc98b862c93c66946f8514a1
tree1b31f0f38b6c13f2a57357642768222b42da93ac
parentae065f83625f3abcf75d928f405e05582fc035b4
bpo-45693: Document `port` parameter to `loop.create_server` (GH-29760) (GH-29762)

Document the `port` parameter to `loop.create_server` in `asyncio`. In
particular, note that if `host` resolves to multiple network interfaces,
passing in `port=0` will result in a different random unused port being
used for each interface.

Automerge-Triggered-By: GH:ericvsmith
(cherry picked from commit d71c7bc7339eb82de493c66ebbbfa1cad250ac78)

Co-authored-by: Jim Crist-Harif <jcristharif@gmail.com>
Co-authored-by: Jim Crist-Harif <jcristharif@gmail.com>
Doc/library/asyncio-eventloop.rst