

@classmethod
def parse(cls, value, kwds):
    kwds['parse_tree'] = parse_tree = cls.value_parser(value)
    kwds['decoded'] = str(parse_tree)
    kwds['defects'].extend(parse_tree.all_defects)
    kwds['major'] = (None if (parse_tree.minor is None) else parse_tree.major)
    value['minor'] = parse_tree.minor
    if (parse_tree.minor is not None):
        kwds['version'] = '{}.{}'.format(kwds['major'], kwds['minor'])
    else:
        kwds['version'] = None

dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/future/backports/email/headerregistry.py MIMEVersionHeader.parse/VarMisuse@74/99 `kwds`->`value`