socket_type --> SocketType

This commit is contained in:
Fred Drake 1997-06-03 17:58:31 +00:00
parent ca0f88d887
commit cf3527b705

View file

@ -65,7 +65,7 @@ for optional in ("AF_UNIX",
):
missing_ok(optional)
socktype = socket.socket_type
socktype = socket.SocketType
hostname = socket.gethostname()
ip = socket.gethostbyname(hostname)
hname, aliases, ipaddrs = socket.gethostbyaddr(ip)