Alphabetize these functions.
This commit is contained in:
parent
244691713d
commit
f8c0d46c5e
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue