#NEWLINE# def remove_listener( self , node ) : #NEWLINE# #INDENT# ' Removes a listener for changes to a node. ' #NEWLINE# key = self . node_manager . get_key ( node ) #NEWLINE# monitor = self . _monitors . get ( key ) #NEWLINE# if ( monitor is not None ) : #NEWLINE# #INDENT# self . _stop_monitor ( monitor ) #NEWLINE# del self . _monitors [ key ] #NEWLINE# #UNINDENT# return