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