In article <[email protected]>, Steve Howe <[email protected]> wrote: > The whole point is, is not supposed to be a set; a set literal would > end with "})". As you can see, there is no such construct in the > string. > It's just a dict inside parentheses. Somehow, the parser seems to > think it's a set.
>>> type({'', 1})
<type 'set'>
>>> type({'': 1})
<type 'dict'>
--
Ned Deily,
[email protected]
--
http://mail.python.org/mailman/listinfo/python-list
