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

Method check

tools/python-3.11.9-amd64/Lib/pdb.py:166–174  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

164
165class _ModuleTarget(str):
166 def check(self):
167 try:
168 self._details
169 except ImportError as e:
170 print(f"ImportError: {e}")
171 sys.exit(1)
172 except Exception:
173 traceback.print_exc()
174 sys.exit(1)
175
176 @functools.cached_property
177 def _details(self):

Callers

nothing calls this directly

Calls 3

print_excMethod · 0.80
printFunction · 0.50
exitMethod · 0.45

Tested by

no test coverage detected