MCPcopy
hub / github.com/python/mypy / format

Method format

mypy/message_registry.py:22–23  ·  view source on GitHub ↗
(self, *args: object, **kwargs: object)

Source from the content-addressed store, hash-verified

20 self.code: Final = code
21
22 def format(self, *args: object, **kwargs: object) -> ErrorMessage:
23 return ErrorMessage(self.value.format(*args, **kwargs), code=self.code)
24
25 def with_additional_msg(self, info: str) -> ErrorMessage:
26 return ErrorMessage(self.value + info, code=self.code)

Callers

nothing calls this directly

Calls 1

ErrorMessageClass · 0.85

Tested by

no test coverage detected