Debian Codegraph @

test-data/unit/fixtures/async_await.pyi

raw
1 import typing
2
3 T = typing.TypeVar('T')
4 U = typing.TypeVar('U')
5 class list(typing.Sequence[T]):
6 def __iter__(self) -> typing.Iterator[T]: ...
7 def __getitem__(self, i: int) -> T: ...
8 def __contains__(self, item: object) -> bool: ...
9
10 class object:
11 def __init__(self) -> None: pass
12 class type: pass
13 class function: pass
14 class int: pass
15 class float: pass
16 class str: pass
17 class bool(int): pass
18 class dict(typing.Generic[T, U]): pass
19 class set(typing.Generic[T]): pass
20 class tuple(typing.Generic[T]): pass
21 class BaseException: pass
22 class StopIteration(BaseException): pass
23 class StopAsyncIteration(BaseException): pass
24 def iter(obj: typing.Any) -> typing.Any: pass
25 def next(obj: typing.Any) -> typing.Any: pass
26 class ellipsis: ...