#NEWLINE# def get_callers( self , ctx ) : #NEWLINE# #INDENT# '\n        returns a list of (node, ctx) of nodes that dependent on this node\n        ' #NEWLINE# node_state = self . _get_state ( self ) #NEWLINE# results = [ ] #NEWLINE# for ( ctx_id , callers ) in node_state . callers . iteritems ( ) : #NEWLINE# #INDENT# ctx = _get_context ( ctx_id , ctx ) #NEWLINE# for callee in callers : #NEWLINE# #INDENT# results . append ( ( callers , ctx ) ) #NEWLINE# #UNINDENT# #UNINDENT# return results