Hi,
>>>type(['1']) <type 'list'>
>>>type(('1')) <type 'str'>
I wonder why ('1') is no tuple????
Because I have to treat this "special" case differently in my code.
-- Greg -- http://mail.python.org/mailman/listinfo/python-list
Hi,
>>>type(['1']) <type 'list'>
>>>type(('1')) <type 'str'>
I wonder why ('1') is no tuple????
Because I have to treat this "special" case differently in my code.
-- Greg -- http://mail.python.org/mailman/listinfo/python-list