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

Function reversed

mypyc/test-data/fixtures/ir.py:394–394  ·  view source on GitHub ↗
(object: Sequence[_T])

Source from the content-addressed store, hash-verified

392@overload
393def sum(i: Iterable[_T], start: _T) -> _T: pass
394def reversed(object: Sequence[_T]) -> Iterator[_T]: ...
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

Callers 15

visit_class_defMethod · 0.85
check_assignmentMethod · 0.85
visit_decorator_innerMethod · 0.85
has_typeMethod · 0.85
lookup_type_or_noneMethod · 0.85
lookup_typeMethod · 0.85
is_assumed_subtypeMethod · 0.85
fullnameMethod · 0.85
compute_search_pathsFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_simple_sortingMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…