#NEWLINE# def get_references( self , name ) : #NEWLINE# #INDENT# 'Return references to component `name` in preparation for subsequent\n        :meth:`restore_references` call.\n\n        name: string\n            Name of component being removed.\n        ' #NEWLINE# refs = OrderedDict ( ) #NEWLINE# for ( rname , response ) in self . _responses . items ( ) : #NEWLINE# #INDENT# if ( name in response . get_referenced_compnames ( ) ) : #NEWLINE# #INDENT# refs [ rname ] = response #NEWLINE# #UNINDENT# #UNINDENT# return refs