Skip to content

Commit 2071e61

Browse files
sobolevntushar-deepsource
authored andcommitted
Remove unused temp_message_builder (python#11696)
1 parent 2dae74c commit 2071e61

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

mypy/messages.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2124,11 +2124,6 @@ def find_defining_module(modules: Dict[str, MypyFile], typ: CallableType) -> Opt
21242124
return None
21252125

21262126

2127-
def temp_message_builder() -> MessageBuilder:
2128-
"""Return a message builder usable for throwaway errors (which may not format properly)."""
2129-
return MessageBuilder(Errors(), {})
2130-
2131-
21322127
# For hard-coding suggested missing member alternatives.
21332128
COMMON_MISTAKES: Final[Dict[str, Sequence[str]]] = {
21342129
'add': ('append', 'extend'),

0 commit comments

Comments
 (0)