6.1.25. sphinx.util.patfilter

sphinx.util.patfilter(names, pat)[source]

Return the subset of the list NAMES that match PAT.

Adapted from fnmatch module.