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

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