MCPcopy Index your code
hub / github.com/RustPython/RustPython / parse

Method parse

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

Source from the content-addressed store, hash-verified

27class Pair(collections.namedtuple('Pair', 'name value')):
28 @classmethod
29 def parse(cls, text):
30 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