Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _read_dist_info_reqs
Method
_read_dist_info_reqs
Lib/importlib/metadata/__init__.py:682–683 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
680
return
reqs and list(reqs)
681
682
def
_read_dist_info_reqs(self):
683
return
self.metadata.get_all(
'Requires-Dist'
)
684
685
def
_read_egg_info_reqs(self):
686
source = self.read_text(
'requires.txt'
)
Callers
1
requires
Method · 0.95
Calls
1
get_all
Method · 0.45
Tested by
no test coverage detected