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

Function isinstance

mypyc/test-data/fixtures/ir.py:399–399  ·  view source on GitHub ↗
(x: object, t: object)

Source from the content-addressed store, hash-verified

397def len(o: object) -> int: pass
398def print(*args: object) -> None: pass
399def isinstance(x: object, t: object) -> bool: pass
400def iter(i: Iterable[_T]) -> Iterator[_T]: pass
401@overload
402def next(i: Iterator[_T]) -> _T: pass

Callers 15

__init__Method · 0.85
process_lvalueMethod · 0.85
visit_expression_stmtMethod · 0.85
set_callable_nameFunction · 0.85
calculate_tuple_fallbackFunction · 0.85
parse_boolFunction · 0.85
map_actuals_to_formalsFunction · 0.85
expand_actual_typeMethod · 0.85
check_partialMethod · 0.85
check_partial_implMethod · 0.85

Calls

no outgoing calls

Tested by 15

is_missing_stubMethod · 0.68
get_descriptionMethod · 0.68
test_moduleFunction · 0.68
verify_mypyfileFunction · 0.68
_belongs_to_runtimeFunction · 0.68
_is_decoratableFunction · 0.68
verify_typeinfoFunction · 0.68
get_nameMethod · 0.68
get_typeMethod · 0.68
has_defaultMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…