mirror of
https://github.com/python/cpython.git
synced 2025-12-09 10:37:17 +00:00
socket_type --> SocketType
This commit is contained in:
parent
ca0f88d887
commit
cf3527b705
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ for optional in ("AF_UNIX",
|
||||||
):
|
):
|
||||||
missing_ok(optional)
|
missing_ok(optional)
|
||||||
|
|
||||||
socktype = socket.socket_type
|
socktype = socket.SocketType
|
||||||
hostname = socket.gethostname()
|
hostname = socket.gethostname()
|
||||||
ip = socket.gethostbyname(hostname)
|
ip = socket.gethostbyname(hostname)
|
||||||
hname, aliases, ipaddrs = socket.gethostbyaddr(ip)
|
hname, aliases, ipaddrs = socket.gethostbyaddr(ip)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue