@@ -33,8 +33,8 @@ Module interface:
3333- socket.ntohl(32 bit value) --> new int object
3434- socket.htons(16 bit value) --> new int object
3535- socket.htonl(32 bit value) --> new int object
36- - socket.getaddrinfo(host, port [, family, socktype , proto, flags])
37- --> List of (family, socktype , proto, canonname, sockaddr)
36+ - socket.getaddrinfo(host, port [, family, type , proto, flags])
37+ --> List of (family, type , proto, canonname, sockaddr)
3838- socket.getnameinfo(sockaddr, flags) --> (host, port)
3939- socket.AF_INET, socket.SOCK_STREAM, etc.: constants from <socket.h>
4040- socket.has_ipv6: boolean value indicating if IPv6 is supported
@@ -5292,8 +5292,8 @@ socket_getaddrinfo(PyObject *self, PyObject *args, PyObject* kwargs)
52925292}
52935293
52945294PyDoc_STRVAR (getaddrinfo_doc ,
5295- "getaddrinfo(host, port [, family, socktype , proto, flags])\n\
5296- -> list of (family, socktype , proto, canonname, sockaddr)\n\
5295+ "getaddrinfo(host, port [, family, type , proto, flags])\n\
5296+ -> list of (family, type , proto, canonname, sockaddr)\n\
52975297\n\
52985298Resolve host and port into addrinfo struct." );
52995299
0 commit comments