Alphabetize these functions.

This commit is contained in:
voussoir 2020-12-05 15:07:04 -08:00
parent 244691713d
commit f8c0d46c5e

View file

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