2 # Based on http://docs.python.org/3/library/glob.html
\r
4 from typing import List, Iterator, AnyStr
\r
7 if sys.version_info >= (3, 6):
\r
8 def glob0(dirname: AnyStr, pattern: AnyStr) -> List[AnyStr]: ...
\r
10 def glob0(dirname: AnyStr, basename: AnyStr) -> List[AnyStr]: ...
\r
12 def glob1(dirname: AnyStr, pattern: AnyStr) -> List[AnyStr]: ...
\r
14 if sys.version_info >= (3, 5):
\r
15 def glob(pathname: AnyStr, *, recursive: bool = ...) -> List[AnyStr]: ...
\r
16 def iglob(pathname: AnyStr, *, recursive: bool = ...) -> Iterator[AnyStr]: ...
\r
18 def glob(pathname: AnyStr) -> List[AnyStr]: ...
\r
19 def iglob(pathname: AnyStr) -> Iterator[AnyStr]: ...
\r
21 def escape(pathname: AnyStr) -> AnyStr: ...
\r