def get_tags(self, tagtype):
        ''' Get all tags of a type '''
        return [t for t in self.__tags if t.tagtype == tagtype]
def get_tags ( self , tagtype ) : return [ t for t in self . __tags if t . tagtype == tagtype ]
Get all tags of a type