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

Method with_additional_msg

mypy/message_registry.py:25–26  ·  view source on GitHub ↗
(self, info: str)

Source from the content-addressed store, hash-verified

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)
27
28
29# Invalid types

Calls 1

ErrorMessageClass · 0.85

Tested by

no test coverage detected