diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2018-07-10 12:32:50 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-07-24 10:58:38 +0200 |
commit | 10b97722edf5eba36efdf27cd374753ea06392d6 (patch) | |
tree | 2d829e9ca87c7ff35cb71ecbc74b82583b4f58dd | |
parent | 1626966082a47dee16bbc0e4645b626df28569f9 (diff) | |
download | pylint-git-10b97722edf5eba36efdf27cd374753ea06392d6.tar.gz |
frozenset is an iterating context for dict.values() and friends
-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 7f04c182c..63e756fb7 100644 --- a/pylint/checkers/python3.py +++ b/pylint/checkers/python3.py @@ -79,7 +79,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', |