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

Method is_skipped_module

Lib/bdb.py:422–429  ·  view source on GitHub ↗

Return True if module_name matches any skip pattern.

(self, module_name)

Source from the content-addressed store, hash-verified

420 # definition of stopping and breakpoints.
421
422 def is_skipped_module(self, module_name):
423 "Return True if module_name matches any skip pattern."
424 if module_name is None: # some modules do not have names
425 return False
426 for pattern in self.skip:
427 if fnmatch.fnmatch(module_name, pattern):
428 return True
429 return False
430
431 def stop_here(self, frame):
432 "Return True if frame is below the starting frame in the stack."

Callers 2

stop_hereMethod · 0.95

Calls 1

fnmatchMethod · 0.80

Tested by 1