Skip to content

Commit e46e3ba

Browse files
authored
Update error_code_list2.rst
1 parent 6c0691e commit e46e3ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/source/error_code_list2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Check that methods do not have redundant Self annotations [redundant-self]
9494
--------------------------------------------------------------------------
9595

9696
If a method uses the ``Self`` type in the return type or the type of a
97-
non-self parameter, there is no need to annotate the ``self`` argument
97+
non-self parameter, there is no need to annotate the ``self`` parameter
9898
explicitly. Such annotations are allowed by :pep:`673` but are
9999
redundant. If you enable this error code, mypy will generate an error if
100100
there is a redundant ``Self`` type.

0 commit comments

Comments
 (0)