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

Method type_object

mypy/types.py:2696–2699  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2694 return self._items[0].is_type_obj()
2695
2696 def type_object(self) -> mypy.nodes.TypeInfo:
2697 # All the items must have the same type object, so it's sufficient to
2698 # query only (any) one of them.
2699 return self._items[0].type_object()
2700
2701 def with_name(self, name: str) -> Overloaded:
2702 ni: list[CallableType] = []

Callers 15

check_compatibilityMethod · 0.45
check_assignmentMethod · 0.45
is_literal_enumMethod · 0.45
check_callable_callMethod · 0.45
visit_index_with_typeMethod · 0.45
split_for_callableMethod · 0.45
has_abstract_typeMethod · 0.45
type_info_from_typeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected