This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author John Hagen
Recipients John Hagen, ammar2, docs@python
Date 2018-06-21.11:15:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529579746.02.0.56676864532.issue33921@psf.upfronthosting.co.za>
In-reply-to
Content
@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.
History
Date User Action Args
2018-06-21 11:15:46John Hagensetrecipients: + John Hagen, docs@python, ammar2
2018-06-21 11:15:46John Hagensetmessageid: <1529579746.02.0.56676864532.issue33921@psf.upfronthosting.co.za>
2018-06-21 11:15:46John Hagenlinkissue33921 messages
2018-06-21 11:15:45John Hagencreate