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

Method object_type

mypy/checkexpr.py:6452–6454  ·  view source on GitHub ↗

Return instance type 'object'.

(self)

Source from the content-addressed store, hash-verified

6450 return self.accept(e.expr)
6451
6452 def object_type(self) -> Instance:
6453 """Return instance type 'object'."""
6454 return self.named_type("builtins.object")
6455
6456 def bool_type(self) -> Instance:
6457 """Return instance type 'bool'."""

Callers 6

visit_call_expr_innerMethod · 0.95
check_lst_exprMethod · 0.95
visit_dict_exprMethod · 0.95

Calls 1

named_typeMethod · 0.95

Tested by

no test coverage detected