We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87e5d6c commit eb4c604Copy full SHA for eb4c604
mypy/messages.py
@@ -2520,8 +2520,8 @@ def quote_type_string(type_string: str) -> str:
2520
if (
2521
type_string in ["Module", "overloaded function", "<deleted>"]
2522
or type_string.startswith("Module ")
2523
- or type_string.startswith(("<tuple ", "<union "))
2524
- and type_string.endswith(" item>")
+ or type_string.startswith(("<tuple: ", "<union: "))
+ and type_string.endswith(" items>")
2525
or type_string.endswith("?")
2526
):
2527
# Messages are easier to read if these aren't quoted. We use a
0 commit comments