diff options
author | Brett Cannon <brett@python.org> | 2014-08-29 14:24:30 -0400 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2014-08-29 14:24:30 -0400 |
commit | 8f3506b375a193856f7dd857f582f6f3b9c5580c (patch) | |
tree | 421c672fbc23e47f4fdc8c4b8dfb7154a9765dad /checkers/base.py | |
parent | fea908c8e20aa3eac1bcaad18fecd4c68cfc9b05 (diff) | |
download | pylint-8f3506b375a193856f7dd857f582f6f3b9c5580c.tar.gz |
Change basestring to six.string_types
Diffstat (limited to 'checkers/base.py')
-rw-r--r-- | checkers/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checkers/base.py b/checkers/base.py index 98e5a58..501d930 100644 --- a/checkers/base.py +++ b/checkers/base.py @@ -578,7 +578,7 @@ functions, methods """check for various kind of statements without effect""" expr = node.value if isinstance(expr, astroid.Const) and isinstance(expr.value, - basestring): + six.string_types): # treat string statement in a separated message # Handle PEP-257 attribute docstrings. # An attribute docstring is defined as being a string right after |