Skip to content

Commit a894621

Browse files
authored
Fix wording in error message for self parameter
1 parent d29c114 commit a894621

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mypy/message_registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def with_additional_msg(self, info: str) -> ErrorMessage:
224224

225225
# Self-type
226226
MISSING_OR_INVALID_SELF_TYPE: Final = ErrorMessage(
227-
"Self argument missing for a non-static method (or an invalid type for self)"
227+
"self parameter missing for a non-static method (or an invalid type for self)"
228228
)
229229
ERASED_SELF_TYPE_NOT_SUPERTYPE: Final = ErrorMessage(
230230
'The erased type of self "{}" is not a supertype of its class "{}"'

0 commit comments

Comments
 (0)