5a287c63c72ab7ed907ad7e847717d347ad7ace7
[dotfiles/.git] / fnmatch.pyi
1 from typing import AnyStr, Iterable, List, Union\r
2 \r
3 _EitherStr = Union[str, unicode]\r
4 \r
5 def fnmatch(filename: _EitherStr, pattern: _EitherStr) -> bool: ...\r
6 def fnmatchcase(filename: _EitherStr, pattern: _EitherStr) -> bool: ...\r
7 def filter(names: Iterable[AnyStr], pattern: _EitherStr) -> List[AnyStr]: ...\r
8 def translate(pattern: AnyStr) -> AnyStr: ...\r