John Hagen <johntha...@gmail.com> added the comment:

@ammar2

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 '100.50.200.5', and port is an integer.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33921>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to