MCPcopy 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
32def names(traversable):
33 return {item.name for item in traversable.iterdir()}
34
35
36class ResourceLoaderTests(util.DiskSetup, unittest.TestCase):

Calls 1

iterdirMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…