Commit 53ff5713 authored by Denis Bilenko's avatar Denis Bilenko

socket: import gaierror from _socket, not socket

parent 421a3977
......@@ -59,7 +59,7 @@ try:
__all__.append('sslerror')
except AttributeError:
pass
gaierror = __socket__.gaierror
gaierror = _socket.gaierror
# Import public constants from the standard socket (called __socket__ here) into this module.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment