summaryrefslogtreecommitdiff
path: root/checkers/utils.py
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2009-11-25 14:38:30 +0100
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2009-11-25 14:38:30 +0100
commit4a6140467dbc6e88a10884476f39eaa8218edfef (patch)
tree6620bd69541aff676f59b0c3d787a99e0e6c72a7 /checkers/utils.py
parent626ced0d14ffb87d00e21cb30ea0cb49d24be44f (diff)
downloadpylint-4a6140467dbc6e88a10884476f39eaa8218edfef.tar.gz
use display_type defined as an astng method
Diffstat (limited to 'checkers/utils.py')
-rw-r--r--checkers/utils.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/checkers/utils.py b/checkers/utils.py
index ba371a5..508fb06 100644
--- a/checkers/utils.py
+++ b/checkers/utils.py
@@ -182,14 +182,6 @@ def overrides_a_method(class_node, name):
return True
return False
-def display_type(node):
- """return the type of this node for screen display"""
- if isinstance(node, astng.Instance):
- return 'Instance of'
- elif isinstance(node, astng.Module):
- return 'Module'
- return 'Class'
-
PYMETHODS = set(('__new__', '__init__', '__del__', '__hash__',
'__str__', '__repr__',
'__len__', '__iter__',