In article 
<aanlktimy1btoug8wrxr==ejun_4opvsuqmzfd8dwz...@mail.gmail.com>,
 Steve Howe <howest...@googlemail.com> 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,
 n...@acm.org

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

Reply via email to