3 __all__
= ['b', 'basestring_', 'bytes', 'next', 'is_unicode']
7 basestring_
= basestring
11 if isinstance(s
, str):
12 return s
.encode('latin1')
14 basestring_
= (bytes
, str)
28 return isinstance(obj
, unicode)
32 return isinstance(obj
, str)
36 if not isinstance(v
, basestring_
):