Debian Codegraph @

test-data/unit/fixtures/float.pyi

raw
1 from typing import Generic, TypeVar, Any
2 T = TypeVar('T')
3
4 class object:
5 def __init__(self) -> None: pass
6
7 class type:
8 def __init__(self, x: Any) -> None: pass
9
10 class str:
11 def __add__(self, other: 'str') -> 'str': pass
12 def __rmul__(self, n: int) -> str: ...
13
14 class bytes: pass
15
16 class tuple(Generic[T]): pass
17 class function: pass
18
19 class ellipsis: pass
20
21
22 class int:
23 def __abs__(self) -> int: ...
24 def __float__(self) -> float: ...
25 def __int__(self) -> int: ...
26 def __mul__(self, x: int) -> int: ...
27 def __neg__(self) -> int: ...
28 def __rmul__(self, x: int) -> int: ...
29
30 class float:
31 def __float__(self) -> float: ...
32 def __int__(self) -> int: ...
33 def __mul__(self, x: float) -> float: ...
34 def __rmul__(self, x: float) -> float: ...
35
36 class dict: pass