diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2018-07-24 11:07:10 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-07-24 11:07:10 +0200 |
commit | 12568607c30ace58d6c3ebff46ae6f8cd61b3a31 (patch) | |
tree | 872f55e6eb1f3282deac65710275a918cf13741f | |
parent | 70b47d480ff236c8e839711400ec373ccd4f9b40 (diff) | |
download | pylint-git-12568607c30ace58d6c3ebff46ae6f8cd61b3a31.tar.gz |
Need to also use the builtin module for Python 2
-rw-r--r-- | pylint/checkers/python3.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pylint/checkers/python3.py b/pylint/checkers/python3.py index 006f2d7b0..dcfed86a7 100644 --- a/pylint/checkers/python3.py +++ b/pylint/checkers/python3.py @@ -85,6 +85,9 @@ _BUILTIN_METHOD_ACCEPTS_ITERATOR = { 'builtins.list.extend', 'builtins.dict.update', 'builtins.set.update', + '__builtin__.list.extend', + '__builtin__.dict.update', + '__builtin__.set.update', } DICT_METHODS = {'items', 'keys', 'values'} |