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

Method str_type

mypy/semanal.py:6952–6955  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6950 return self._object_type
6951
6952 def str_type(self) -> Instance:
6953 if self._str_type is None:
6954 self._str_type = self.named_type("builtins.str")
6955 return self._str_type
6956
6957 def function_type(self) -> Instance:
6958 if self._function_type is None:

Callers 1

_lookupMethod · 0.95

Calls 1

named_typeMethod · 0.95

Tested by

no test coverage detected