def get_by_name(self, name):
        found = self.xpath('w:lsdException[@w:name="%s"]' % name)
        if not found:
            return None
        return found[0]
Constructor for this factory
dataset/ETHPy150Open python-openxml/python-docx/docx/oxml/styles.py/CT_LatentStyles.get_by_name--crossover with--dataset/ETHPy150Open tuturto/pyherc/src/pyherc/rules/combat/factories.py/AttackFactory.__init__