Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
27
class
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_pairs
Method · 0.45
Calls
2
cls
Class · 0.50
split
Method · 0.45
Tested by
no test coverage detected