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

Function len

mypyc/test-data/fixtures/ir.py:397–397  ·  view source on GitHub ↗
(o: object)

Source from the content-addressed store, hash-verified

395def id(o: object) -> int: pass
396# This type is obviously wrong but the test stubs don't have Sized anymore
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

Callers 15

setup.pyFile · 0.85
record_definitionMethod · 0.85
delete_varMethod · 0.85
record_nested_branchMethod · 0.85
skip_branchMethod · 0.85
is_possibly_undefinedMethod · 0.85
is_undefinedMethod · 0.85
doneMethod · 0.85
_scopeMethod · 0.85
enter_scopeMethod · 0.85

Calls

no outgoing calls

Tested by 15

_truncateFunction · 0.68
names_approx_matchFunction · 0.68
get_kindMethod · 0.68
_verify_signatureFunction · 0.68
verify_varFunction · 0.68
exists_in_versionFunction · 0.68
test_stubsFunction · 0.68
listdirMethod · 0.68
test_output_jsonFunction · 0.68
test_python_evaluationFunction · 0.68