Signal whether the frame is an internal CPython implementation detail.
(frame)
| 271 | |
| 272 | |
| 273 | def _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 | |
| 279 | def _next_external_frame(frame): |
no outgoing calls
no test coverage detected