diff options
| author | cpopa <devnull@localhost> | 2014-01-09 15:19:32 +0200 |
|---|---|---|
| committer | cpopa <devnull@localhost> | 2014-01-09 15:19:32 +0200 |
| commit | 4d0bf4a7bcf74306ee2b01b965f922cf2701c084 (patch) | |
| tree | 45fa34c993585bd33a4e4da57c00f5a4d3b48b86 | |
| parent | 6ec7db585fa5b6787fd316483b3c5536a0432464 (diff) | |
| parent | 37bc17e49dc640e8c2c7839aa3069c4256bd02de (diff) | |
| download | pylint-4d0bf4a7bcf74306ee2b01b965f922cf2701c084.tar.gz | |
Merge branches.
| -rw-r--r-- | checkers/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checkers/utils.py b/checkers/utils.py index 7387711..728893e 100644 --- a/checkers/utils.py +++ b/checkers/utils.py @@ -124,7 +124,7 @@ SPECIAL_BUILTINS = ('__builtins__',) # '__path__', '__file__') def is_builtin_object(node): """Returns True if the given node is an object from the __builtin__ module.""" - return node and node.root().name == '__builtin__' + return node and node.root().name == BUILTINS_NAME def is_builtin(name): # was is_native_builtin """return true if <name> could be considered as a builtin defined by python |
