On Apr 11, 2005 7:57 AM, Joshua Ginsberg <[EMAIL PROTECTED]> wrote:
>  >>> {'a':1,'b':'2','c':[3,4]}.keys()
> ['a', 'c', 'b']
> 
> How come? :-)

Dicts are not ordered.

See note (3) on this page :
http://www.python.org/doc/current/lib/typesmapping.html

-- 
Stephen Thorne
Development Engineer
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to