summaryrefslogtreecommitdiff
path: root/pylint/checkers/base.py
diff options
context:
space:
mode:
authorClaudiu Popa <cpopa@cloudbasesolutions.com>2015-05-07 22:47:06 +0300
committerClaudiu Popa <cpopa@cloudbasesolutions.com>2015-05-07 22:47:06 +0300
commit65f20be4ef8874d17b04a1cd16cba71b5c5118a9 (patch)
tree7ad48c49e5c1c8d708f45099c7eaacff7f4d2b3c /pylint/checkers/base.py
parent634861d1ffa11c5c5fc760541c4bab2b0488eb93 (diff)
downloadpylint-65f20be4ef8874d17b04a1cd16cba71b5c5118a9.tar.gz
Fix unidiomatic-typecheck.
Diffstat (limited to 'pylint/checkers/base.py')
-rw-r--r--pylint/checkers/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/base.py b/pylint/checkers/base.py
index 9fbedd6..a52ea66 100644
--- a/pylint/checkers/base.py
+++ b/pylint/checkers/base.py
@@ -699,7 +699,7 @@ functions, methods
if value is default:
msg = DEFAULT_ARGUMENT_SYMBOLS[value.qname()]
- elif type(value) is astroid.Instance or is_iterable(value):
+ elif isinstance(value, astroid.Instance) or is_iterable(value):
# We are here in the following situation(s):
# * a dict/set/list/tuple call which wasn't inferred
# to a syntax node ({}, () etc.). This can happen