1 from typing import AnyStr, Iterable, List, Union
\r
3 _EitherStr = Union[str, unicode]
\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