Jack Diederich wrote: > the square brackets always expect an int or a slice.
true only for lists :)
In [1]: mydict = {}
In [2]: mydict[1,2,3] = 'hi'
In [3]: print mydict[1,2,3]
------> print(mydict[1,2,3])
hi
--
By ZeD
--
http://mail.python.org/mailman/listinfo/python-list
