Weird...

Joshua Ginsberg listspam at flowtheory.net
Sun Apr 10 17:57:20 EDT 2005


 >>> {'a':1,'b':'2','c':[3,4]}.keys()
['a', 'c', 'b']

How come? :-)

-jag

Python 2.3.3 (#1, May  7 2004, 10:31:40)
[GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)] on linux2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Pasted Graphic.tiff
Type: image/tiff
Size: 17326 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20050410/60fa3ca4/attachment.tiff>
-------------- next part --------------

Joshua Ginsberg -- joshg at brainstorminternet.net
Brainstorm Internet Network Operations
970-247-1442 x131


More information about the Python-list mailing list