#NEWLINE# def make_links( parent , selector = None ) : #NEWLINE# #INDENT# 'Attach an Atom <links> element to the parent.' #NEWLINE# elem = SubTemplateElement ( parent , ( '{%s}link' % XMLNS_ATOM ) , selector = selector ) #NEWLINE# elem . set ( 'rel' ) #NEWLINE# elem . set ( 'type' ) #NEWLINE# elem . set ( 'href' ) #NEWLINE# return elem