Hello all. Can anyone explain why this creates a list containing a dictionary:
[{'a': 'b', 'foo': 'bar'}] But this creates a list of keys of the dictionary: list({ "a": "b", "foo": "bar" }) I expected them to be equivalent but clearly they're not! I'm using Python 2.6.1 if that helps. -sam
-- http://mail.python.org/mailman/listinfo/python-list