Actually, instead of `(str, unicode)`, you can just use `basestring`. That's what it's for.
And it might be a few milliseconds faster. :)
Actually, instead of `(str, unicode)`, you can just use `basestring`. That's what it's for.
And it might be a few milliseconds faster. :)