>>> import types
>>> type("") is types.ListType
False
>>> type("") is types.StringType
True
>>> type([]) is types.StringType
False
>>> type([]) is types.ListType
True

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

Reply via email to