1# Stubs for fnmatch 2 3# Based on http://docs.python.org/3.2/library/fnmatch.html and 4# python-lib/fnmatch.py 5 6from typing import Iterable, List, AnyStr 7 8def fnmatch(name: AnyStr, pat: AnyStr) -> bool: ... 9def fnmatchcase(name: AnyStr, pat: AnyStr) -> bool: ... 10def filter(names: Iterable[AnyStr], pat: AnyStr) -> List[AnyStr]: ... 11def translate(pat: str) -> str: ... 12