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

Function _top_level_declared

Lib/importlib/metadata/__init__.py:1164–1165  ·  view source on GitHub ↗
(dist)

Source from the content-addressed store, hash-verified

1162
1163
1164def _top_level_declared(dist):
1165 return (dist.read_text('top_level.txt') or '').split()
1166
1167
1168def _topmost(name: PackagePath) -> str | None:

Callers 1

packages_distributionsFunction · 0.85

Calls 2

splitMethod · 0.45
read_textMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…