Just van Rossum wrote:
> Walter D?rwald wrote:
>> > > ! STRING_TYPES = (type(""), type(unicode("")))
> >
> > Is there a reason why this isn't:
> >
> > STRING_TYPES = (str, unicode)
>> 2.1 compatibility.
2.1 isinstance does not accepts a tuple for the second argument.
Neil