diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-09-05 14:37:09 +0300 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-09-05 14:37:09 +0300 |
commit | db048da44f22ae5ce7eba93e0492a69842d2e856 (patch) | |
tree | 6797a39322f726534e8016d427b9909950133668 /pylint/checkers/typecheck.py | |
parent | 9a40cafa4ed476a98a144ee4a112f686e518908d (diff) | |
download | pylint-db048da44f22ae5ce7eba93e0492a69842d2e856.tar.gz |
Fix the name of the attribute, it's six.string_types.
Diffstat (limited to 'pylint/checkers/typecheck.py')
-rw-r--r-- | pylint/checkers/typecheck.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/typecheck.py b/pylint/checkers/typecheck.py index bc29b9b..a7ac22d 100644 --- a/pylint/checkers/typecheck.py +++ b/pylint/checkers/typecheck.py @@ -47,7 +47,7 @@ BUILTINS = six.moves.builtins.__name__ def _unflatten(iterable): for elem in iterable: if (isinstance(elem, collections.Sequence) and - not isinstance(elem, six.stringtypes)): + not isinstance(elem, six.string_types)): for subelem in _unflatten(elem): yield subelem elif isinstance(elem, bases.NodeNG): |