MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / include_pattern

Method include_pattern

Lib/distutils/filelist.py:187–229  ·  view source on GitHub ↗

Select strings (presumably filenames) from 'self.files' that match 'pattern', a Unix-style wildcard (glob) pattern. Patterns are not quite the same as implemented by the 'fnmatch' module: '*' and '?' match non-special characters, where "special" is platform-dependen

(self, pattern, anchor=1, prefix=None, is_regex=0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

process_template_lineMethod · 0.95
test_include_patternMethod · 0.95

Calls 5

debug_printMethod · 0.95
findallMethod · 0.95
translate_patternFunction · 0.85
searchMethod · 0.45
appendMethod · 0.45

Tested by 1

test_include_patternMethod · 0.76