mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
10 lines
339 B
Python
10 lines
339 B
Python
from collections.abc import Iterable
|
|
from typing import AnyStr
|
|
|
|
__all__ = ["filter", "fnmatch", "fnmatchcase", "translate"]
|
|
|
|
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: ...
|