summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-09-05 14:37:09 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2015-09-05 14:37:09 +0300
commitdb048da44f22ae5ce7eba93e0492a69842d2e856 (patch)
tree6797a39322f726534e8016d427b9909950133668
parent9a40cafa4ed476a98a144ee4a112f686e518908d (diff)
downloadpylint-db048da44f22ae5ce7eba93e0492a69842d2e856.tar.gz
Fix the name of the attribute, it's six.string_types.
-rw-r--r--pylint/checkers/typecheck.py2
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):