diff options
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 |