diff options
| author | Claudiu Popa <pcmanticore@gmail.com> | 2017-09-19 13:54:06 +0200 |
|---|---|---|
| committer | Claudiu Popa <pcmanticore@gmail.com> | 2017-09-19 13:54:06 +0200 |
| commit | 3543bbc658947312659fda453aed634d71c29556 (patch) | |
| tree | f9f8ba64928a7e11e2f434cd0318f0bc5f05d376 /pylint/checkers/python3.py | |
| parent | 0ecfbf3b5a196708d3c3f9058890a2ec0cf3aaea (diff) | |
| download | pylint-git-3543bbc658947312659fda453aed634d71c29556.tar.gz | |
A map enclosed by a filter call does not trigger map-builtin-not-iterating on Python 3 porting checker any longer
Diffstat (limited to 'pylint/checkers/python3.py')
| -rw-r--r-- | pylint/checkers/python3.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/python3.py b/pylint/checkers/python3.py index c6c525fb4..dfa67a79a 100644 --- a/pylint/checkers/python3.py +++ b/pylint/checkers/python3.py @@ -56,7 +56,7 @@ def _is_builtin(node): _ACCEPTS_ITERATOR = {'iter', 'list', 'tuple', 'sorted', 'set', 'sum', 'any', - 'all', 'enumerate', 'dict'} + 'all', 'enumerate', 'dict', 'filter'} DICT_METHODS = {'items', 'keys', 'values'} |
