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

Function format

mypy/messages.py:2663–2664  ·  view source on GitHub ↗
(typ: Type)

Source from the content-addressed store, hash-verified

2661 """
2662
2663 def format(typ: Type) -> str:
2664 return format_type_inner(typ, verbosity, options, fullnames)
2665
2666 def format_list(types: Sequence[Type]) -> str:
2667 return ", ".join(format(typ) for typ in types)

Callers 5

format_callable_argsFunction · 0.85
format_listFunction · 0.85
format_union_itemsFunction · 0.85
format_literal_valueFunction · 0.85
format_type_innerFunction · 0.85

Calls 1

format_type_innerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…