mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove unused variable.
This commit is contained in:
@@ -277,7 +277,6 @@ def patfilter(names, pat):
|
||||
Return the subset of the list NAMES that match PAT.
|
||||
Adapted from fnmatch module.
|
||||
"""
|
||||
result = []
|
||||
if pat not in _pat_cache:
|
||||
_pat_cache[pat] = re.compile(_translate_pattern(pat))
|
||||
match = _pat_cache[pat].match
|
||||
|
||||
Reference in New Issue
Block a user