MCPcopy Index your code
hub / github.com/python/cpython / _is_internal_frame

Function _is_internal_frame

Lib/_py_warnings.py:449–451  ·  view source on GitHub ↗

Signal whether the frame is an internal CPython implementation detail.

(frame)

Source from the content-addressed store, hash-verified

447
448
449def _is_internal_frame(frame):
450 """Signal whether the frame is an internal CPython implementation detail."""
451 return _is_internal_filename(frame.f_code.co_filename)
452
453
454def _next_external_frame(frame, skip_file_prefixes):

Callers 1

warnFunction · 0.70

Calls 1

_is_internal_filenameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…