Files
typeshed/stdlib/@python2/glob.pyi
2021-08-14 11:12:30 +02:00

8 lines
350 B
Python

from typing import AnyStr, Iterator, List
def glob(pathname: AnyStr) -> List[AnyStr]: ...
def iglob(pathname: AnyStr) -> Iterator[AnyStr]: ...
def glob1(dirname: str | unicode, pattern: AnyStr) -> List[AnyStr]: ...
def glob0(dirname: str | unicode, basename: AnyStr) -> List[AnyStr]: ...
def has_magic(s: str | unicode) -> bool: ... # undocumented