(frame)
return 'importlib' in filename and '_bootstrap' in filename
Signal whether the frame is an internal CPython implementation detail.
Signal whether the frame is an internal CPython implementation detail.
Signal whether the frame is an internal CPython implementation detail .
def _is_internal_frame(frame):
    """Signal whether the frame is an internal CPython implementation detail."""
    filename = frame.f_code.co_filename
    return 'importlib' in filename and '_bootstrap' in filename
def _is_internal_frame ( frame ) : filename = frame . f_code . co_filename return 'importlib' in filename and '_bootstrap' in filename