#NEWLINE# def add_region( self , region ) : #NEWLINE# #INDENT# 'Adds the given region to the first link for this node' #NEWLINE# if self . links : #NEWLINE# #INDENT# self . links [ 0 ] . append ( region ) #NEWLINE# self . _add_regions ( ( region , ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . add_link ( Link ( ( region , ) ) )