diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2018-09-25 08:16:49 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-09-25 08:16:49 +0200 |
commit | db5b7cde3df1eb874a414681753fe96d367f09bf (patch) | |
tree | 51edeaf44eadac06fc4812f78440ced785824e5f | |
parent | 4a3f47ce8793cda198414b5aea7fae4c37cb43f9 (diff) | |
download | pylint-git-db5b7cde3df1eb874a414681753fe96d367f09bf.tar.gz |
Fix the lint errors
-rw-r--r-- | pylint/checkers/base.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pylint/checkers/base.py b/pylint/checkers/base.py index 9f437e53b..af30286a3 100644 --- a/pylint/checkers/base.py +++ b/pylint/checkers/base.py @@ -533,12 +533,12 @@ class BasicErrorChecker(_BasicChecker): def visit_classdef(self, node): self._check_redefinition("class", node) - def _too_many_starred_for_tuple(self, tuple): + def _too_many_starred_for_tuple(self, assign_tuple): starred_count = 0 - for elem in tuple.itered(): + for elem in assign_tuple.itered(): if isinstance(elem, astroid.Tuple): return self._too_many_starred_for_tuple(elem) - elif isinstance(elem, astroid.Starred): + if isinstance(elem, astroid.Starred): starred_count += 1 return starred_count > 1 |