>>> a = {1: ("a")} >>> a[1] 'a' why not ('a')? when >>> a = {1: ((("a")))} >>> a[1] 'a' the result is 'a' too,not ((("a"))).but when use["a"] or ("a","b"),the tuple is longer than 1, it's no problem.
-- [http://www.flyaflya.com/] -- http://mail.python.org/mailman/listinfo/python-list