diff options
Diffstat (limited to 'checkers/variables.py')
-rw-r--r-- | checkers/variables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checkers/variables.py b/checkers/variables.py index bcb5bb2..6a26f5a 100644 --- a/checkers/variables.py +++ b/checkers/variables.py @@ -321,7 +321,7 @@ builtins. Remember that you should avoid to define new builtins when possible.' continue if not isinstance(elt_name, astroid.Const) \ - or not isinstance(elt_name.value, basestring): + or not isinstance(elt_name.value, six.string_types): self.add_message('invalid-all-object', args=elt.as_string(), node=elt) continue |