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

Method parse

Lib/importlib/metadata/_collections.py:33–34  ·  view source on GitHub ↗
(cls, text)

Source from the content-addressed store, hash-verified

31
32 @classmethod
33 def parse(cls, text):
34 return cls(*map(str.strip, text.split("=", 1)))

Callers 1

section_pairsMethod · 0.45

Calls 2

clsClass · 0.50
splitMethod · 0.45

Tested by

no test coverage detected