1 from typing import AnyStr, Iterator, List, Union 2 3 def glob0(dirname: AnyStr, pattern: AnyStr) -> List[AnyStr]: ... 4 def glob1(dirname: AnyStr, pattern: AnyStr) -> List[AnyStr]: ... 5 def glob(pathname: AnyStr, *, recursive: bool = ...) -> List[AnyStr]: ... 6 def iglob(pathname: AnyStr, *, recursive: bool = ...) -> Iterator[AnyStr]: ... 7 def escape(pathname: AnyStr) -> AnyStr: ... 8 def has_magic(s: Union[str, bytes]) -> bool: ... # undocumented 9