mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
12 lines
366 B
Python
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: ...
|