def _get_children_as(parent, tag, construct):
 return [construct(child) for child in parent.findall(_ns(tag))]

def _get_children_as ( parent , tag , construct ) : return [ construct ( child ) for child in parent . findall ( _ns ( tag ) ) ]
find child nodes by tag; pass each through a constructor .