Debian Codegraph @

test-data/unit/lib-stub/types.pyi

raw
1 from typing import Any, TypeVar
2
3 _T = TypeVar('_T')
4
5 def coroutine(func: _T) -> _T: pass
6
7 class ModuleType:
8 __file__: str
9 def __getattr__(self, name: str) -> Any: pass
10
11 class GenericAlias:
12 def __or__(self, o): ...
13 def __ror__(self, o): ...
14
15 class NoneType:
16 ...
17
18 class UnionType:
19 def __or__(self, x) -> UnionType: ...
20
21 class NotImplementedType: ...