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

Method _from_text

Lib/importlib/metadata/__init__.py:366–370  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

364
365 @staticmethod
366 def _from_text(text):
367 return (
368 EntryPoint(name=item.value.name, value=item.value.value, group=item.name)
369 for item in Sectioned.section_pairs(text or '')
370 )
371
372
373class PackagePath(pathlib.PurePosixPath):

Callers 1

_from_text_forMethod · 0.80

Calls 2

EntryPointClass · 0.85
section_pairsMethod · 0.80

Tested by

no test coverage detected