Files
typeshed/stdlib/3/fnmatch.pyi
2015-09-30 09:59:44 -07:00

12 lines
366 B
Python

# Stubs for fnmatch
# Based on http://docs.python.org/3.2/library/fnmatch.html and
# python-lib/fnmatch.py
from typing import Iterable, List, AnyStr
def fnmatch(name: AnyStr, pat: AnyStr) -> bool: ...
def fnmatchcase(name: AnyStr, pat: AnyStr) -> bool: ...
def filter(names: Iterable[AnyStr], pat: AnyStr) -> List[AnyStr]: ...
def translate(pat: str) -> str: ...