Alphabetize these functions.

master
voussoir 2020-12-05 15:07:04 -08:00
parent 244691713d
commit f8c0d46c5e
1 changed files with 3 additions and 3 deletions

View File

@ -18,8 +18,8 @@ def fix(pattern):
pattern = re.sub(r'(\[|\])', r'[\1]', pattern) pattern = re.sub(r'(\[|\])', r'[\1]', pattern)
return pattern return pattern
def glob(pathname, *, recursive=False):
return python_glob.glob(fix(pathname), recursive=recursive)
def fnmatch(name, pat): def fnmatch(name, pat):
return python_fnmatch.fnmatch(name, fix(pat)) return python_fnmatch.fnmatch(name, fix(pat))
def glob(pathname, *, recursive=False):
return python_glob.glob(fix(pathname), recursive=recursive)