summaryrefslogtreecommitdiff
path: root/pylint/checkers/classes.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/checkers/classes.py')
-rw-r--r--pylint/checkers/classes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/classes.py b/pylint/checkers/classes.py
index 2d63b8bbd..4bbc45f20 100644
--- a/pylint/checkers/classes.py
+++ b/pylint/checkers/classes.py
@@ -177,7 +177,7 @@ def _definition_equivalent_to_call(definition, call):
def _positional_parameters(method):
positional = method.args.args
- if method.type in {"classmethod", "method"}:
+ if method.is_bound() and method.type in {"classmethod", "method"}:
positional = positional[1:]
return positional