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

Function _import_imp

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

Source from the content-addressed store, hash-verified

186
187
188def _import_imp():
189 global imp
190 with warnings.catch_warnings():
191 warnings.simplefilter('ignore', DeprecationWarning)
192 imp = importlib.import_module('imp')
193
194class ImpImporter:
195 """PEP 302 Finder that wraps Python's "classic" import algorithm

Callers 2

__init__Method · 0.85
__init__Method · 0.85

Calls 1

import_moduleMethod · 0.80

Tested by

no test coverage detected