MCPcopy Index your code
hub / github.com/RustPython/RustPython / _is_filename_to_skip

Function _is_filename_to_skip

Lib/_py_warnings.py:423–424  ·  view source on GitHub ↗
(filename, skip_file_prefixes)

Source from the content-addressed store, hash-verified

421
422
423def _is_filename_to_skip(filename, skip_file_prefixes):
424 return any(filename.startswith(prefix) for prefix in skip_file_prefixes)
425
426
427def _is_internal_frame(frame):

Callers 1

_next_external_frameFunction · 0.85

Calls 2

anyFunction · 0.70
startswithMethod · 0.45

Tested by

no test coverage detected