MCPcopy Index your code
hub / github.com/python/mypy / float

Class float

mypyc/test-data/fixtures/ir.py:141–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139 def isdigit(self) -> bool: ...
140
141class float:
142 def __init__(self, x: object) -> None: pass
143 def __add__(self, n: float) -> float: pass
144 def __radd__(self, n: float) -> float: pass
145 def __sub__(self, n: float) -> float: pass
146 def __rsub__(self, n: float) -> float: pass
147 def __mul__(self, n: float) -> float: pass
148 def __truediv__(self, n: float) -> float: pass
149 def __floordiv__(self, n: float) -> float: pass
150 def __mod__(self, n: float) -> float: pass
151 def __pow__(self, n: float) -> float: pass
152 def __neg__(self) -> float: pass
153 def __pos__(self) -> float: pass
154 def __abs__(self) -> float: pass
155 def __invert__(self) -> float: pass
156 def __eq__(self, x: object) -> bool: pass
157 def __ne__(self, x: object) -> bool: pass
158 def __lt__(self, x: float) -> bool: ...
159 def __le__(self, x: float) -> bool: ...
160 def __gt__(self, x: float) -> bool: ...
161 def __ge__(self, x: float) -> bool: ...
162
163class complex:
164 def __init__(self, x: object, y: object = None) -> None: pass

Callers 8

_report_any_exprsMethod · 0.85
maybe_suggestMethod · 0.85
combine_statsFunction · 0.85
coerceMethod · 0.85
binary_opMethod · 0.85
testutil.pyFile · 0.85

Calls

no outgoing calls

Tested by 1

maybe_suggestMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…