[docs] [issue33921] Explain that '' can be used to bind to all interfaces for the AF_INET address family in the docs
report at bugs.python.org
Thu Jun 21 07:15:46 EDT 2018
John Hagen <johnthagen at gmail.com> added the comment:
I see that now. Yeah it's further down in the docs and doesn't actually call out '' like is done for AF_CAN:
A tuple (interface, ) is used for the AF_CAN address family, where interface is a string representing a network interface name like 'can0'. The network interface name '' can be used to receive packets from all network interfaces of this family.
Ideally I think putting something in this section would be helpful:
A pair (host, port) is used for the AF_INET address family, where host is a string representing either a hostname in Internet domain notation like 'daring.cwi.nl' or an IPv4 address like '188.8.131.52', and port is an integer.
Python tracker <report at bugs.python.org>
More information about the docs