diff options
author | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-04-18 18:11:45 +0300 |
---|---|---|
committer | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-04-18 18:11:45 +0300 |
commit | 4e96d82471d5538610dab9dc60e17a36875f24e3 (patch) | |
tree | 50ddf9caa09be5fc65a37b5befe57f47e212fb35 | |
parent | b52c0a166e8d853b7a92c2a95cbb2c928c457f24 (diff) | |
download | pylint-4e96d82471d5538610dab9dc60e17a36875f24e3.tar.gz |
Remove an unused function.
-rw-r--r-- | pylint/checkers/utils.py | 7 |
1 files changed, 0 insertions, 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 <name> is a method overridden from an ancestor""" |