Skip to content

Commit 55f0235

Browse files
authored
Update message_registry.py
1 parent c5c12fa commit 55f0235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/message_registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def with_additional_msg(self, info: str) -> ErrorMessage:
277277
MISSING_MATCH_ARGS: Final = 'Class "{}" doesn\'t define "__match_args__"'
278278
OR_PATTERN_ALTERNATIVE_NAMES: Final = "Alternative patterns bind different names"
279279
CLASS_PATTERN_GENERIC_TYPE_ALIAS: Final = (
280-
"Class pattern class must not be a type alias with type parameters"
280+
"Class pattern class must not be a type alias with type arguments"
281281
)
282282
CLASS_PATTERN_TYPE_REQUIRED: Final = 'Expected type in class pattern; found "{}"'
283283
CLASS_PATTERN_TOO_MANY_POSITIONAL_ARGS: Final = "Too many positional patterns for class pattern"

0 commit comments

Comments
 (0)