asyncio.AbstractEventLoop.set_exception_handler()

AbstractEventLoop.set_exception_handler(handler)

Set handler as the new event loop exception handler.

If handler is None, the default exception handler will be set.

If handler is a callable object, it should have a matching signature to (loop, context), where loop will be a reference to the active event loop, context will be a dict object (see call_exception_handler() documentation for details about context).

doc_python
2016-10-07 17:26:33
Comments
Leave a Comment

Please login to continue.