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

Method __init__

tools/python-3.11.9-amd64/Lib/pkgutil.py:205–211  ·  view source on GitHub ↗
(self, path=None)

Source from the content-addressed store, hash-verified

203 """
204
205 def __init__(self, path=None):
206 global imp
207 warnings.warn("This emulation is deprecated and slated for removal "
208 "in Python 3.12; use 'importlib' instead",
209 DeprecationWarning)
210 _import_imp()
211 self.path = path
212
213 def find_module(self, fullname, path=None):
214 # Note: we ignore 'path' argument since it is only used via meta_path

Callers

nothing calls this directly

Calls 2

_import_impFunction · 0.85
warnMethod · 0.45

Tested by

no test coverage detected