diff options
Diffstat (limited to 'pylint/checkers/classes.py')
-rw-r--r-- | pylint/checkers/classes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/checkers/classes.py b/pylint/checkers/classes.py index c628e94..c39b971 100644 --- a/pylint/checkers/classes.py +++ b/pylint/checkers/classes.py @@ -140,7 +140,7 @@ def _is_attribute_property(name, klass): return True return False -def _has_super_call(fundef_node): +def _has_bare_super_call(fundef_node): for call in fundef_node.nodes_of_class(astroid.Call): func = call.func if (isinstance(func, astroid.Name) and @@ -554,7 +554,7 @@ a metaclass class method.'} and not (node.is_abstract() or overrides_a_method(class_node, node.name) or decorated_with_property(node) or - (six.PY3 and _has_super_call(node)))): + (six.PY3 and _has_bare_super_call(node)))): self.add_message('no-self-use', node=node) def visit_attribute(self, node): |