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

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/r/e/rel-0.3.1/rel/registrar.py   rel(Download)
from listener import Event, SocketIO, Timer, Signal, contains
import select, signal, time
try:
    import epoll
except ImportError:
    def read(self,sock,cb,*args):
        tmp = SocketIO(self,'read',sock,cb,*args)
        self.add(tmp)
        return tmp
 
    def write(self,sock,cb,*args):
        tmp = SocketIO(self,'write',sock,cb,*args)