diff --git a/voussoirkit/winglob.py b/voussoirkit/winglob.py index 1dfb543..2daa5a4 100644 --- a/voussoirkit/winglob.py +++ b/voussoirkit/winglob.py @@ -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)