summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2018-07-10 12:32:50 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2018-07-10 12:32:50 +0200
commit1c5db6280b08b1fa53e102c37ae6d5d85900852b (patch)
treef48c368e95b43f176dcbdf3ee379d328e05a549d
parent08513297117e725c549d72ab8b80138e50698040 (diff)
downloadpylint-git-1c5db6280b08b1fa53e102c37ae6d5d85900852b.tar.gz
frozenset is an iterating context for dict.values() and friends
-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 0fbc5b87f..c63685e4f 100644
--- a/pylint/checkers/python3.py
+++ b/pylint/checkers/python3.py
@@ -77,7 +77,7 @@ def _is_builtin(node):
_ACCEPTS_ITERATOR = {'iter', 'list', 'tuple', 'sorted', 'set', 'sum', 'any',
'all', 'enumerate', 'dict', 'filter', 'reversed',
- 'max', 'min'}
+ 'max', 'min', 'frozenset'}
_BUILTIN_METHOD_ACCEPTS_ITERATOR = {
'builtins.list.extend',
'builtins.dict.update',