#NEWLINE# def on_read( self , fd , callback ) : #NEWLINE# #INDENT# '\n        Add a callback for when the given file descriptor is available for reading.\n        Callback will be called with file descriptor as sole argument.\n        ' #NEWLINE# self . handlers [ fd ] [ 'read' ] . append ( callback ) #NEWLINE# self . _update_events ( callback )