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

Function _is_internal_frame

tools/python-3.11.9-amd64/Lib/warnings.py:273–276  ·  view source on GitHub ↗

Signal whether the frame is an internal CPython implementation detail.

(frame)

Source from the content-addressed store, hash-verified

271
272
273def _is_internal_frame(frame):
274 """Signal whether the frame is an internal CPython implementation detail."""
275 filename = frame.f_code.co_filename
276 return 'importlib' in filename and '_bootstrap' in filename
277
278
279def _next_external_frame(frame):

Callers 2

_next_external_frameFunction · 0.70
warnFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected