Commit 421a3977 authored by Denis Bilenko's avatar Denis Bilenko

socket: move imports to the top

parent 4c4e5f10
......@@ -43,6 +43,11 @@ __all__ = ['create_connection',
'timeout',
'ssl']
import sys
import errno
import time
import random
import re
import _socket
error = _socket.error
......@@ -71,12 +76,6 @@ del name, value
# XXX: implement blocking functions that are not yet implemented
# XXX: add test that checks that socket.__all__ matches gevent.socket.__all__ on all supported platforms
import sys
import errno
import time
import random
import re
from gevent.hub import getcurrent, get_hub, spawn_raw
from gevent import core
......
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