MCPcopy
hub / github.com/python/mypy / bool

Class bool

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

Source from the content-addressed store, hash-verified

211 def __iter__(self) -> Iterator[int]: ...
212
213class bool(int):
214 def __init__(self, o: object = ...) -> None: ...
215 @overload
216 def __and__(self, n: bool) -> bool: ...
217 @overload
218 def __and__(self, n: int) -> int: ...
219 @overload
220 def __or__(self, n: bool) -> bool: ...
221 @overload
222 def __or__(self, n: int) -> int: ...
223 @overload
224 def __xor__(self, n: bool) -> bool: ...
225 @overload
226 def __xor__(self, n: int) -> int: ...
227
228class tuple(Generic[T_co], Sequence[T_co], Iterable[T_co]):
229 def __init__(self, i: Iterable[T_co]) -> None: pass

Callers 15

setup.pyFile · 0.85
has_new_methodMethod · 0.85
visit_try_stmtMethod · 0.85
_is_truthy_typeMethod · 0.85
is_pyc_onlyFunction · 0.85
is_non_empty_tupleFunction · 0.85
_is_disjoint_baseFunction · 0.85
is_errorsMethod · 0.85
is_blockersMethod · 0.85
_get_func_argsMethod · 0.85
do_func_defMethod · 0.85

Calls

no outgoing calls

Tested by 5

_belongs_to_runtimeFunction · 0.68
run_caseMethod · 0.68
run_case_onceMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…