From 4e96d82471d5538610dab9dc60e17a36875f24e3 Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Sat, 18 Apr 2015 18:11:45 +0300 Subject: Remove an unused function. --- pylint/checkers/utils.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py index 4db0862..89ace2c 100644 --- a/pylint/checkers/utils.py +++ b/pylint/checkers/utils.py @@ -236,13 +236,6 @@ def assign_parent(node): node = node.parent return node -def overrides_an_abstract_method(class_node, name): - """return True if pnode is a parent of node""" - for ancestor in class_node.ancestors(): - if name in ancestor and isinstance(ancestor[name], astroid.Function) and \ - ancestor[name].is_abstract(pass_is_abstract=False): - return True - return False def overrides_a_method(class_node, name): """return True if is a method overridden from an ancestor""" -- cgit v1.2.1