MCPcopy Index your code
hub / github.com/python/cpython / parse

Method parse

Lib/email/headerregistry.py:541–544  ·  view source on GitHub ↗
(cls, value, kwds)

Source from the content-addressed store, hash-verified

539
540 @classmethod
541 def parse(cls, value, kwds):
542 kwds['parse_tree'] = parse_tree = cls.value_parser(value)
543 kwds['decoded'] = str(parse_tree)
544 kwds['defects'].extend(parse_tree.all_defects)
545
546
547# The header factory #

Callers

nothing calls this directly

Calls 3

strFunction · 0.85
value_parserMethod · 0.80
extendMethod · 0.45

Tested by

no test coverage detected