Fredrik Lundh wrote:

> Sequences:
>      str
>      unicode

footnote: to simplify, there's also a "basestring" base class that can 
be used to check for either str or unicode:

     isinstance(obj, basestring)

is equivalent to

     isinstance(obj, (str, unicode))

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to