_collapse(s) was moved to collapse(s)

This commit is contained in:
jesopo 2020-07-01 17:52:29 +01:00
parent 7e575d733e
commit 4152f4d281

View file

@ -51,4 +51,4 @@ class Glob(object):
def match(self, s: str) -> bool:
return _match(self._pattern, s)
def compile(pattern: str) -> Glob:
return Glob(_collapse(pattern))
return Glob(collapse(pattern))