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

Function sorted

mypyc/test-data/fixtures/ir.py:428–428  ·  view source on GitHub ↗
(iterable: Iterable[_T])

Source from the content-addressed store, hash-verified

426@overload
427def pow(base: __SupportsPow3[T_contra, _M, T_co], exp: T_contra, mod: _M) -> T_co: ...
428def sorted(iterable: Iterable[_T]) -> list[_T]: ...
429def exit() -> None: ...
430def min(x: _T, y: _T) -> _T: ...
431def max(x: _T, y: _T) -> _T: ...

Callers 15

check_overrideMethod · 0.85
solve_iterativelyFunction · 0.85
solve_oneFunction · 0.85
parse_config_fileFunction · 0.85
parse_mypy_commentsFunction · 0.85
get_config_module_namesFunction · 0.85
visit_unbound_typeMethod · 0.85
import_linesMethod · 0.85
check_undefined_namesMethod · 0.85
options.pyFile · 0.85

Calls

no outgoing calls

Tested by 15

_verify_exported_namesFunction · 0.68
verify_mypyfileFunction · 0.68
verify_typeinfoFunction · 0.68
__str__Method · 0.68
_verify_signatureFunction · 0.68
test_stubsFunction · 0.68
test_semanalFunction · 0.68
run_caseMethod · 0.68
dumpMethod · 0.68
format_triggeredMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…