Debian Codegraph @

test-data/unit/fixtures/divmod.pyi

raw
1 from typing import TypeVar, Tuple, SupportsInt
2 class object:
3 def __init__(self): pass
4
5 class int(SupportsInt):
6 def __divmod__(self, other: int) -> Tuple[int, int]: pass
7 def __rdivmod__(self, other: int) -> Tuple[int, int]: pass
8
9 class float(SupportsInt):
10 def __divmod__(self, other: float) -> Tuple[float, float]: pass
11 def __rdivmod__(self, other: float) -> Tuple[float, float]: pass
12
13
14 class tuple: pass
15 class function: pass
16 class str: pass
17 class type: pass
18 class ellipsis: pass
19
20 _N = TypeVar('_N', int, float)
21 def divmod(_x: _N, _y: _N) -> Tuple[_N, _N]: ...
22
23 class dict: pass