#NEWLINE# def register_with_event_loop( self , connection , loop ) : #NEWLINE# #INDENT# cycle = self . cycle #NEWLINE# cycle . poller = loop . poller #NEWLINE# add_reader = loop . add_reader #NEWLINE# on_readable = self . on_readable #NEWLINE# cycle_poll_start = cycle . on_poll_start #NEWLINE# def on_poll_start( ) : #NEWLINE# #INDENT# cycle_poll_start ( ) #NEWLINE# [ add_reader ( fd , on_readable , fd ) for fd in cycle . fds ] #NEWLINE# #UNINDENT# loop . on_tick . add ( on_poll_start )