MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _get_delegate

Method _get_delegate

tools/python-3.11.9-amd64/Lib/pkgutil.py:354–357  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

352 return self.source
353
354 def _get_delegate(self):
355 finder = ImpImporter(self.filename)
356 spec = _get_spec(finder, '__init__')
357 return spec.loader
358
359 def get_filename(self, fullname=None):
360 fullname = self._fix_name(fullname)

Callers 3

get_codeMethod · 0.95
get_sourceMethod · 0.95
get_filenameMethod · 0.95

Calls 2

ImpImporterClass · 0.85
_get_specFunction · 0.85

Tested by

no test coverage detected