def from_str(self, s):
        for typ in self.elem_types:
            try:
                return typ.from_str(s)
            except __HOLE__:
                pass
        raise ValueError('No match found')
dataset/ETHPy150Open rllab/rllab/rllab/envs/box2d/parser/xml_attr_types.py/Either.from_str