massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 3 / glob.pyi
1 # Stubs for glob\r
2 # Based on http://docs.python.org/3/library/glob.html\r
3 \r
4 from typing import List, Iterator, AnyStr\r
5 import sys\r
6 \r
7 if sys.version_info >= (3, 6):\r
8     def glob0(dirname: AnyStr, pattern: AnyStr) -> List[AnyStr]: ...\r
9 else:\r
10     def glob0(dirname: AnyStr, basename: AnyStr) -> List[AnyStr]: ...\r
11 \r
12 def glob1(dirname: AnyStr, pattern: AnyStr) -> List[AnyStr]: ...\r
13 \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
17 else:\r
18     def glob(pathname: AnyStr) -> List[AnyStr]: ...\r
19     def iglob(pathname: AnyStr) -> Iterator[AnyStr]: ...\r
20 \r
21 def escape(pathname: AnyStr) -> AnyStr: ...\r