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 6c0691e commit e46e3baCopy full SHA for e46e3ba
1 file changed
docs/source/error_code_list2.rst
@@ -94,7 +94,7 @@ Check that methods do not have redundant Self annotations [redundant-self]
94
--------------------------------------------------------------------------
95
96
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
+non-self parameter, there is no need to annotate the ``self`` parameter
98
explicitly. Such annotations are allowed by :pep:`673` but are
99
redundant. If you enable this error code, mypy will generate an error if
100
there is a redundant ``Self`` type.
0 commit comments