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

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/d/j/django-asterisk-0.1/django_asterisk/engine.py   django-asterisk(Download)
 
        # register some callbacks
        manager.register_event('Shutdown', handle_shutdown) # shutdown
        manager.register_event('*', lambda event, manager: handle_event(event,manager,call)) # catch all
 

src/d/j/django-asterisk-HEAD/django_asterisk/engine.py   django-asterisk(Download)
 
        # register some callbacks
        manager.register_event('Shutdown', handle_shutdown) # shutdown
        manager.register_event('*', lambda event, manager: handle_event(event,manager,call)) # catch all
 

src/p/y/pyst-HEAD/pyst/trunk/test/test_base.py   pyst(Download)
        self.manager = Manager()
        self.manager.connect('localhost', port = self.port)
        self.manager.register_event ('*', self.handler)
 
    def compare_result(self, r_event, event):