-
-
Notifications
You must be signed in to change notification settings - Fork 222
Expand file tree
/
Copy pathtype_stubs.txt
More file actions
19 lines (19 loc) · 980 Bytes
/
type_stubs.txt
File metadata and controls
19 lines (19 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<module type_stubs # This module has an a…
<function def func(x: str, y: Any, z: Iterable[str]) -> int: ... # A simple function.>
<var var: list[str] = [] # Docstring override f…>
<class type_stubs.Class
<method def __init__(): ...>
<var attr: int = 42 # An attribute>
<method def meth(self, y: bool) -> bool: ... # A simple method.>
<class type_stubs.Class.Subclass
<method def __init__(): ...>
<var attr: str = '42' # An attribute>
<method def meth(self, y: bool) -> bool: ... # A simple method.>
>
<method def no_type_annotation(self, z): ... # A method not present…>
<method def overloaded(*args, **kwds): ... # An overloaded method…>
>
<class type_stubs.ImportedClass # inherited from type_stubs._utils.ImportedClass, Docstring from impor…
<method def __init__(): ... # inherited from type_stubs._utils.ImportedClass.__init__>
>
>