Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ names
Function
names
Lib/test/test_importlib/resources/test_resource.py:32–33 ·
view source on GitHub ↗
(traversable)
Source
from the content-addressed store, hash-verified
30
31
32
def
names(traversable):
33
return
{item.name
for
item in traversable.iterdir()}
34
35
36
class
ResourceLoaderTests(util.DiskSetup, unittest.TestCase):
Callers
8
test_resource_contents
Method · 0.70
test_submodule_contents
Method · 0.70
test_submodule_contents_by_name
Method · 0.70
test_unrelated_contents
Method · 0.70
test_submodule_contents
Method · 0.70
test_submodule_contents_by_name
Method · 0.70
test_submodule_sub_contents
Method · 0.70
test_submodule_sub_contents_by_name
Method · 0.70
Calls
1
iterdir
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…