def _parse_attributes(self, root):
        for attname, xpath, type_ in self._attributes:
            if type_ != tuple:
                try:
                    setattr(self, attname, type_(root.xpath(xpath)[0]))
                except __HOLE__:
                    setattr(self, attname, None)
            else:
                setattr(self, attname, type_(root.xpath(xpath)))
dataset/ETHPy150Open pokerregion/poker/poker/website/twoplustwo.py/ForumMember._parse_attributes