]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45693: Document `port` parameter to `loop.create_server` (GH-29760)
authorJim Crist-Harif <jcristharif@gmail.com>
Wed, 24 Nov 2021 19:43:57 +0000 (13:43 -0600)
committerGitHub <noreply@github.com>
Wed, 24 Nov 2021 19:43:57 +0000 (11:43 -0800)
commitd71c7bc7339eb82de493c66ebbbfa1cad250ac78
tree0e7dd8cec580aa3189a3813170f93c81d32cd92c
parent256f9c4588ac16b59e0fe690ccbdc4052aef1fee
bpo-45693: Document `port` parameter to `loop.create_server` (GH-29760)

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
Doc/library/asyncio-eventloop.rst