summaryrefslogtreecommitdiff
path: root/pylint/checkers/utils.py
diff options
context:
space:
mode:
authorClaudiu Popa <cpopa@cloudbasesolutions.com>2015-03-31 11:07:57 +0300
committerClaudiu Popa <cpopa@cloudbasesolutions.com>2015-03-31 11:07:57 +0300
commit9f97a8bfb6333a8ace6dddb3de2ce820f21bc388 (patch)
treeea0f77c224dc8ac5d96e6000a745c35720cf27c1 /pylint/checkers/utils.py
parent421db4073c7e969f377eb548ea0a7bd669343b7b (diff)
downloadpylint-9f97a8bfb6333a8ace6dddb3de2ce820f21bc388.tar.gz
Add Changelog entry and cleanup after changeset 2307df9
Diffstat (limited to 'pylint/checkers/utils.py')
-rw-r--r--pylint/checkers/utils.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py
index 231fe1c..4db0862 100644
--- a/pylint/checkers/utils.py
+++ b/pylint/checkers/utils.py
@@ -122,10 +122,6 @@ def is_raising(body):
return True
return False
-def is_empty(body):
- """return true if the given node does nothing but 'pass'"""
- return len(body) == 1 and isinstance(body[0], astroid.Pass)
-
builtins = builtins.__dict__.copy()
SPECIAL_BUILTINS = ('__builtins__',) # '__path__', '__file__')