#NEWLINE# def get( self , binding_key , injection_site_desc ) : #NEWLINE# #INDENT# if ( binding_key in self . _binding_key_to_binding ) : #NEWLINE# #INDENT# return self . _binding_key_to_binding [ binding_key ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( binding_key in self . _collided_binding_key_to_bindings ) : #NEWLINE# #INDENT# raise errors . AmbiguousArgNameError ( injection_site_desc , binding_key , self . _collided_binding_key_to_bindings [ binding_key ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise errors . NothingInjectableForArgError ( binding_key , injection_site_desc )