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