summaryrefslogtreecommitdiff
path: root/pylint/checkers/python3.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2017-09-19 13:54:06 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2017-09-19 13:54:06 +0200
commit3543bbc658947312659fda453aed634d71c29556 (patch)
treef9f8ba64928a7e11e2f434cd0318f0bc5f05d376 /pylint/checkers/python3.py
parent0ecfbf3b5a196708d3c3f9058890a2ec0cf3aaea (diff)
downloadpylint-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.py2
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'}