py3: basestring