Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(0)  |  Derive(2)  |  Import(2)

src/m/i/mido-1.1.5/mido/sockets.py   mido(Download)
from collections import deque
from .parser import Parser
from .ports import MultiPort, BaseIOPort, multi_iter_pending, sleep
 
PY2 = (sys.version_info.major == 2)
class SocketPort(BaseIOPort):
    def __init__(self, host, portno, conn=None):
        self.name = format_address(host, portno)
        self.closed = False
        self._parser = Parser()

src/m/i/mido-HEAD/mido/sockets.py   mido(Download)
from collections import deque
from .parser import Parser
from .ports import MultiPort, BaseIOPort, multi_iter_pending, sleep
 
PY2 = (sys.version_info.major == 2)
class SocketPort(BaseIOPort):
    def __init__(self, host, portno, conn=None):
        self.name = format_address(host, portno)
        self.closed = False
        self._parser = Parser()