Python stdlib module — fnmatch. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.filter()Neutralfilter(names, pat)
Construct a list from those elements of the iterable NAMES that match PAT.
.fnmatchcase()Neutralfnmatchcase(name, pat)
Test whether FILENAME matches PATTERN, including case.
| FQN | Field | |
|---|---|---|
| fnmatch | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import fnmatch