#NEWLINE# def _map_links_to_source( self , links , source , map_variable = 'bound_links' , position = None ) : #NEWLINE# #INDENT# source_links = getattr ( self , map_variable ) . setdefault ( source , [ ] ) #NEWLINE# for link in links : #NEWLINE# #INDENT# source_links . append ( link ) #NEWLINE# self . link_positions [ link ] = position