diff options
author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2009-11-25 14:38:30 +0100 |
---|---|---|
committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2009-11-25 14:38:30 +0100 |
commit | 4a6140467dbc6e88a10884476f39eaa8218edfef (patch) | |
tree | 6620bd69541aff676f59b0c3d787a99e0e6c72a7 /checkers/utils.py | |
parent | 626ced0d14ffb87d00e21cb30ea0cb49d24be44f (diff) | |
download | pylint-4a6140467dbc6e88a10884476f39eaa8218edfef.tar.gz |
use display_type defined as an astng method
Diffstat (limited to 'checkers/utils.py')
-rw-r--r-- | checkers/utils.py | 8 |
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__', |