

@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)
    if (parse_tree.params is None):
        kwds['params'] = {
            
        }
    else:
        kwds['params'] = dict(((utils._sanitize(name).lower(), utils._sanitize(value)) for (name, value) in parse_tree.params))

dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/future/backports/email/headerregistry.py ParameterizedMIMEHeader.parse/original