summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Popa <cpopa@cloudbasesolutions.com>2015-05-03 12:40:41 +0300
committerClaudiu Popa <cpopa@cloudbasesolutions.com>2015-05-03 12:40:41 +0300
commit165da367417b659bfacc2a8018f2198057c54423 (patch)
treef1720b1607a8ef8d76bbd1aa4df1e609a6ca2350
parentd49fab20cbb8509a42b0a0a573cbf2c3ade6f7c8 (diff)
downloadpylint-165da367417b659bfacc2a8018f2198057c54423.tar.gz
Remove obsolete function, it was never used.
-rw-r--r--pylint/checkers/utils.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py
index 1a40e25..d7896a2 100644
--- a/pylint/checkers/utils.py
+++ b/pylint/checkers/utils.py
@@ -385,13 +385,6 @@ def node_frame_class(node):
return klass
-def is_super_call(expr):
- """return True if expression node is a function call and if function name
- is super. Check before that you're in a method.
- """
- return (isinstance(expr, astroid.CallFunc) and
- isinstance(expr.func, astroid.Name) and
- expr.func.name == 'super')
def is_attr_private(attrname):
"""Check that attribute name is private (at least two leading underscores,