diff options
author | cpopa <devnull@localhost> | 2014-08-08 19:43:56 +0300 |
---|---|---|
committer | cpopa <devnull@localhost> | 2014-08-08 19:43:56 +0300 |
commit | 82ea94048db995ddef0d56a3f55b54a50ed57763 (patch) | |
tree | db7cfb736e1a5af22de771f56f4ad8dc93b5b83d /checkers/base.py | |
parent | 3eafd24ac68ad9ff042baaec15c52cc6c17c2961 (diff) | |
download | pylint-82ea94048db995ddef0d56a3f55b54a50ed57763.tar.gz |
Revert change.
Diffstat (limited to 'checkers/base.py')
-rw-r--r-- | checkers/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checkers/base.py b/checkers/base.py index 98e81b9..c53d3a1 100644 --- a/checkers/base.py +++ b/checkers/base.py @@ -658,7 +658,7 @@ functions, methods value.qname() in DEFAULT_ARGUMENT_SYMBOLS): if value is default: msg = DEFAULT_ARGUMENT_SYMBOLS[value.qname()] - elif isinstance(value, astroid.Instance): + elif type(value) is astroid.Instance: if isinstance(default, astroid.CallFunc): # this argument is direct call to list() or dict() etc msg = '%s() (%s)' % (value.name, value.qname()) |