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

Method __init__

tools/python-3.11.9-amd64/Lib/pkgutil.py:274–282  ·  view source on GitHub ↗
(self, fullname, file, filename, etc)

Source from the content-addressed store, hash-verified

272 code = source = None
273
274 def __init__(self, fullname, file, filename, etc):
275 warnings.warn("This emulation is deprecated and slated for removal in "
276 "Python 3.12; use 'importlib' instead",
277 DeprecationWarning)
278 _import_imp()
279 self.file = file
280 self.filename = filename
281 self.fullname = fullname
282 self.etc = etc
283
284 def load_module(self, fullname):
285 self._reopen()

Callers

nothing calls this directly

Calls 2

_import_impFunction · 0.85
warnMethod · 0.45

Tested by

no test coverage detected