massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 2and3 / pyclbr.pyi
1 from typing import List, Union, Sequence, Optional, Dict\r
2 \r
3 \r
4 class Class:\r
5     module = ...  # type: str\r
6     name = ...  # type: str\r
7     super = ...  # type: Optional[List[Union["Class", str]]]\r
8     methods = ...  # type: Dict[str, int]\r
9     file = ...  # type: int\r
10     lineno = ...  # type: int\r
11 \r
12     def __init__(self,\r
13                  module: str,\r
14                  name: str,\r
15                  super: Optional[List[Union["Class", str]]],\r
16                  file: str,\r
17                  lineno: int) -> None: ...\r
18 \r
19 \r
20 class Function:\r
21     module = ...  # type: str\r
22     name = ...  # type: str\r
23     file = ...  # type: int\r
24     lineno = ...  # type: int\r
25 \r
26     def __init__(self,\r
27                  module: str,\r
28                  name: str,\r
29                  file: str,\r
30                  lineno: int) -> None: ...\r
31 \r
32 \r
33 def readmodule(module: str,\r
34                path: Optional[Sequence[str]] = ...\r
35                ) -> Dict[str, Class]: ...\r
36 \r
37 \r
38 def readmodule_ex(module: str,\r
39                   path: Optional[Sequence[str]] = ...\r
40                   ) -> Dict[str, Union[Class, Function, List[str]]]: ...\r