MCPcopy Index your code
hub / github.com/RustPython/RustPython / _from_text

Method _from_text

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

Source from the content-addressed store, hash-verified

297
298 @staticmethod
299 def _from_text(text):
300 return (
301 EntryPoint(name=item.value.name, value=item.value.value, group=item.name)
302 for item in Sectioned.section_pairs(text or '')
303 )
304
305
306class 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