[issue8866] socket.getaddrinfo() should support keyword arguments

Antoine Pitrou report at bugs.python.org
Sat Aug 14 23:57:45 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

-.. function:: getaddrinfo(host, port, family=0, socktype=0, proto=0, flags=0)
+.. function:: getaddrinfo(host, port[, family[, type[, proto[, flags]]]])

You should keep using the new documentation convention, that is:

.. function:: getaddrinfo(host, port, family=0, type=0, proto=0, flags=0)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8866>
_______________________________________


More information about the Python-bugs-list mailing list