def make_links(parent, selector=None):
 elem = SubTemplateElement(parent, ('{%s}link' % XMLNS_ATOM), selector=selector)
 elem.set('rel')
 elem.set('type')
 elem.set('href')
 return elem

def make_links ( parent , selector = None ) : elem = SubTemplateElement ( parent , ( '{%s}link' % XMLNS_ATOM ) , selector = selector ) elem . set ( 'rel' ) elem . set ( 'type' ) elem . set ( 'href' ) return elem
make links using the given traceback .