|
|
|
@ -11,7 +11,7 @@ import astroid.nodes
|
|
|
|
|
|
|
|
|
|
if sys.version_info < (3,):
|
|
|
|
|
_EXCEPTIONS_MODULE = "exceptions"
|
|
|
|
|
_STRING_TYPES = basestring # pylint:disable=undefined-variable
|
|
|
|
|
_STRING_TYPES = (str, unicode)
|
|
|
|
|
else:
|
|
|
|
|
_EXCEPTIONS_MODULE = "builtins"
|
|
|
|
|
_STRING_TYPES = str
|
|
|
|
|