diff options
Diffstat (limited to 'pylint/checkers/typecheck.py')
-rw-r--r-- | pylint/checkers/typecheck.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pylint/checkers/typecheck.py b/pylint/checkers/typecheck.py index da9daf7..e5f60d6 100644 --- a/pylint/checkers/typecheck.py +++ b/pylint/checkers/typecheck.py @@ -27,7 +27,6 @@ import astroid.context import astroid.arguments from astroid import exceptions from astroid import objects -from astroid import node_classes from astroid import bases import six @@ -56,7 +55,7 @@ def _unflatten(iterable): if (isinstance(elem, collections.Sequence) and not isinstance(elem, six.string_types)): for elem in _unflatten(elem): - yield elem + yield elem elif elem and not index: # We're interested only in the first element. yield elem |