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

Method children

Lib/importlib/metadata/__init__.py:845–850  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

843 return pathlib.Path(self.root, child)
844
845 def children(self):
846 with suppress(Exception):
847 return os.listdir(self.root or '.')
848 with suppress(Exception):
849 return self.zip_children()
850 return []
851
852 def zip_children(self):
853 # deferred for performance (python/importlib_metadata#502)

Callers 1

__init__Method · 0.45

Calls 3

zip_childrenMethod · 0.95
suppressClass · 0.90
listdirMethod · 0.80

Tested by

no test coverage detected