@@ -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
@@ -5290,8 +5290,8 @@ socket_getaddrinfo(PyObject *self, PyObject *args, PyObject* kwargs)
52905290}
52915291
52925292PyDoc_STRVAR (getaddrinfo_doc ,
5293- "getaddrinfo(host, port [, family, socktype , proto, flags])\n\
5294- -> list of (family, socktype , proto, canonname, sockaddr)\n\
5293+ "getaddrinfo(host, port [, family, type , proto, flags])\n\
5294+ -> list of (family, type , proto, canonname, sockaddr)\n\
52955295\n\
52965296Resolve host and port into addrinfo struct." );
52975297
0 commit comments